Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h",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.001512/0.001512, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00184/0.00184, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.294/2.294, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4726, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.152/0.6246, allocations: 173.7 MB / 1.187 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008287/0.6329, allocations: 8.619 MB / 1.195 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.6334, allocations: 15.88 kB / 1.195 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.6341, allocations: 262.4 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006379/0.6348, allocations: 278.7 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.6356, allocations: 343.2 kB / 1.196 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.6367, allocations: 1.16 MB / 1.197 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006812/0.6374, allocations: 0.553 MB / 1.197 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.6409, allocations: 1.997 MB / 1.199 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.6414, allocations: 370.4 kB / 1.2 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.6414, allocations: 43.98 kB / 1.2 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.6416, allocations: 79.91 kB / 1.2 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.6418, allocations: 259.4 kB / 1.2 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.6421, allocations: 282.5 kB / 1.2 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.6426, allocations: 0.6112 MB / 1.201 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.6426, allocations: 4 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.123e-06/0.6426, allocations: 0 / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.6426, allocations: 0 / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0008808/0.6435, allocations: 0.828 MB / 1.202 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6436, allocations: 12.03 kB / 1.202 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.809e-05/0.6437, allocations: 98.5 kB / 1.202 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.193e-05/0.6438, allocations: 71.17 kB / 1.202 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.6442, allocations: 414.1 kB / 1.202 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.6443, allocations: 41.31 kB / 1.202 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.6443, allocations: 55.98 kB / 1.202 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.6452, allocations: 0.7027 MB / 1.203 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6453, allocations: 7.938 kB / 1.203 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.6453, allocations: 31.92 kB / 1.203 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.6453, allocations: 23.98 kB / 1.203 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.6459, allocations: 367.4 kB / 1.204 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6481, allocations: 3.227 MB / 1.207 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.6483, allocations: 218.1 kB / 1.207 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.6485, allocations: 128.5 kB / 1.207 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.6485, allocations: 8 kB / 1.207 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.6485, allocations: 46.5 kB / 1.207 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.6485, allocations: 0 / 1.207 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006351/0.6492, allocations: 253.5 kB / 1.207 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.6493, allocations: 294.7 kB / 1.208 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.6499, allocations: 0.6877 MB / 1.208 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.65, allocations: 25.7 kB / 1.208 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6501, allocations: 264.4 kB / 1.209 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.6502, allocations: 39.53 kB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.6502, allocations: 29.72 kB / 1.209 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6504, allocations: 370.8 kB / 1.209 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.6505, allocations: 35.97 kB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.6506, allocations: 101 kB / 1.209 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.6508, allocations: 129 kB / 1.209 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6509, allocations: 0 / 1.209 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003136/0.6512, allocations: 188.8 kB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6512, allocations: 11.94 kB / 1.209 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6512, allocations: 0 / 1.209 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6512, allocations: 4 kB / 1.209 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.6514, allocations: 44.2 kB / 1.209 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6514, allocations: 7.938 kB / 1.209 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.6517, allocations: 55.55 kB / 1.21 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.6517, allocations: 15.98 kB / 1.21 GB, free: 12.15 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0001713/0.6519, allocations: 197.7 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.6521, allocations: 67.19 kB / 1.21 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.6521, allocations: 60.31 kB / 1.21 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6522, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6522, allocations: 4 kB / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6522, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.6534, allocations: 1.304 MB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6534, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.6536, allocations: 40.06 kB / 1.211 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6536, allocations: 8.219 kB / 1.211 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.6536, allocations: 8 kB / 1.211 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6536, allocations: 7.938 kB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6536, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.654, allocations: 338.4 kB / 1.212 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6541, allocations: 152.3 kB / 1.212 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.6542, allocations: 8 kB / 1.212 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.6543, allocations: 19.98 kB / 1.212 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.6544, allocations: 19.86 kB / 1.212 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.6544, allocations: 4 kB / 1.212 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004684/0.6549, allocations: 0.4912 MB / 1.212 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6549, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003457/0.6552, allocations: 83.91 kB / 1.212 GB, free: 9.184 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.003667/0.6589, allocations: 0.9136 MB / 1.213 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.6593, allocations: 107.8 kB / 1.213 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6593, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.6594, allocations: 68.7 kB / 1.213 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6607, allocations: 283.4 kB / 1.214 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.6657, allocations: 4.671 MB / 1.218 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.6662, allocations: 0.9088 MB / 1.219 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.6664, allocations: 100.6 kB / 1.219 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.6666, allocations: 175.4 kB / 1.219 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.6666, allocations: 0 / 1.219 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.6907, allocations: 13.28 MB / 1.232 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.6909, allocations: 247.4 kB / 1.233 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.776, allocations: 0 / 1.233 GB, free: 4.461 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches