Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007087/0.007087, allocations: 101.5 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 195.7 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 62.36 kB / 0.9504 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2408, allocations: 140.4 MB / 1.087 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002211/0.2431, allocations: 1.216 MB / 1.089 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.245, allocations: 1.255 MB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.245, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.2451, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007451/0.2458, allocations: 207.3 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.246, allocations: 42.69 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.2e-05/0.246, allocations: 15.92 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.2461, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.2461, allocations: 7.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1774/0.4235, allocations: 30.9 MB / 1.12 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4235, allocations: 0 / 1.12 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.4236, allocations: 0 / 1.12 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.4236, allocations: 4 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.4236, allocations: 4 kB / 1.12 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.4237, allocations: 19.91 kB / 1.12 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4238, allocations: 0 / 1.12 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4238, allocations: 0 / 1.12 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4238, allocations: 0 / 1.12 GB, free: 2.695 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002902/0.4241, allocations: 327.5 kB / 1.121 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4241, allocations: 12.03 kB / 1.121 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.979e-05/0.4242, allocations: 110 kB / 1.121 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.4243, allocations: 76.22 kB / 1.121 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4244, allocations: 243.6 kB / 1.121 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003781/0.4248, allocations: 154.9 kB / 1.121 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.4248, allocations: 150.9 kB / 1.121 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.531e-05/0.4249, allocations: 112.9 kB / 1.121 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.4249, allocations: 75.28 kB / 1.122 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.425, allocations: 150.6 kB / 1.122 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.425, allocations: 154.6 kB / 1.122 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.302e-05/0.4251, allocations: 154.5 kB / 1.122 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.4254, allocations: 446 kB / 1.122 GB, free: 428 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.4254, allocations: 165.1 kB / 1.123 GB, free: 252 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.4255, allocations: 88.14 kB / 1.123 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.4255, allocations: 83.2 kB / 1.123 GB, free: 76 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/0.4256, allocations: 113.8 kB / 1.123 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4256, allocations: 0 / 1.123 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.217e-05/0.4257, allocations: 25.7 kB / 1.123 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.4258, allocations: 211.8 kB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/0.4259, allocations: 93.86 kB / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4259, allocations: 29.7 kB / 1.123 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.4259, allocations: 88.12 kB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.426, allocations: 0 / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.426, allocations: 13.72 kB / 1.123 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.4261, allocations: 314.8 kB / 1.124 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.4261, allocations: 0 / 1.124 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.4261, allocations: 26.52 kB / 1.124 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.4262, allocations: 79.27 kB / 1.124 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/0.4262, allocations: 79.22 kB / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.696e-05/0.4263, allocations: 41.69 kB / 1.124 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.4263, allocations: 83.19 kB / 1.124 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4263, allocations: 79.28 kB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.693e-05/0.4264, allocations: 154.5 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.358e-05/0.4264, allocations: 79.28 kB / 1.124 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.787e-05/0.4265, allocations: 154.5 kB / 1.124 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.4266, allocations: 87.27 kB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4267, allocations: 75.28 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.4268, allocations: 264.4 kB / 1.125 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.4268, allocations: 116.9 kB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.4269, allocations: 108.1 kB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/0.427, allocations: 180.2 kB / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-05/0.427, allocations: 176.3 kB / 1.125 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/0.4271, allocations: 184.3 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.4273, allocations: 401.2 kB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/0.4273, allocations: 108.9 kB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.4273, allocations: 108.9 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.008e-05/0.4274, allocations: 180.3 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.4275, allocations: 180.2 kB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.555e-05/0.4275, allocations: 188.2 kB / 1.127 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.169e-05/0.4276, allocations: 184.5 kB / 1.127 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.4277, allocations: 303.8 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.4278, allocations: 190 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.4279, allocations: 180.2 kB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.428, allocations: 105 kB / 1.128 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.428, allocations: 192.2 kB / 1.128 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.4281, allocations: 105 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.4281, allocations: 75.28 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.4281, allocations: 0 / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002399/0.4284, allocations: 4 kB / 1.128 GB, free: 10.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003719/0.4288, allocations: 0.8165 MB / 1.129 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 4.287e-05/0.4288, allocations: 4.422 kB / 1.129 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4288, allocations: 0 / 1.129 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.4288, allocations: 0 / 1.129 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4292, allocations: 463.7 kB / 1.129 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.4296, allocations: 194.4 kB / 1.129 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.4298, allocations: 0.6767 MB / 1.13 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.4298, allocations: 0 / 1.13 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.4298, allocations: 7.438 kB / 1.13 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of SimCode: time 2.01e-07/0.4298, allocations: 4 kB / 1.13 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.4491, allocations: 1.275 MB / 1.131 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.505, allocations: 8.25 kB / 1.131 GB, free: 6.973 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches