Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002312/0.002312, allocations: 210.3 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.031/3.031, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9572/0.9593, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.008742/0.968, allocations: 4.504 MB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.9715, allocations: 2.708 MB / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.9717, allocations: 0 / 1.286 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.972, allocations: 50.19 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.9723, allocations: 103.7 kB / 1.286 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.974, allocations: 0.5063 MB / 1.287 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.9744, allocations: 238.4 kB / 1.287 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.9744, allocations: 11.83 kB / 1.287 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.9757, allocations: 425.9 kB / 1.287 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.9758, allocations: 89.38 kB / 1.287 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.9759, allocations: 7.719 kB / 1.287 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.9772, allocations: 0.4983 MB / 1.288 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.9773, allocations: 41.8 kB / 1.288 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.9774, allocations: 80.44 kB / 1.288 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007122/0.9781, allocations: 359.6 kB / 1.288 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9781, allocations: 1.156 kB / 1.288 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9781, allocations: 0 / 1.288 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9782, allocations: 0 / 1.288 GB, free: 5.566 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008979/0.9791, allocations: 0.5076 MB / 1.289 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.9791, allocations: 9.688 kB / 1.289 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.444e-05/0.9791, allocations: 5.109 kB / 1.289 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.9792, allocations: 55.75 kB / 1.289 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.9793, allocations: 25.12 kB / 1.289 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.9797, allocations: 210.4 kB / 1.289 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.9797, allocations: 10.86 kB / 1.289 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.9797, allocations: 21.97 kB / 1.289 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.9802, allocations: 251.9 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.9802, allocations: 1.281 kB / 1.289 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.9802, allocations: 6.531 kB / 1.289 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.9802, allocations: 10.44 kB / 1.289 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.9808, allocations: 430 kB / 1.29 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.982, allocations: 1.011 MB / 1.291 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.9824, allocations: 144 kB / 1.291 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.9825, allocations: 61.56 kB / 1.291 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.9842, allocations: 1.822 MB / 1.293 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.9843, allocations: 36.55 kB / 1.293 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.9843, allocations: 1.125 kB / 1.293 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003795/0.9846, allocations: 152.7 kB / 1.293 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.9847, allocations: 53.56 kB / 1.293 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.9849, allocations: 172.2 kB / 1.293 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.9849, allocations: 30.77 kB / 1.293 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.985, allocations: 145.8 kB / 1.293 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.9851, allocations: 59.08 kB / 1.293 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.9852, allocations: 53.02 kB / 1.293 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9853, allocations: 327.5 kB / 1.294 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.9854, allocations: 34.98 kB / 1.294 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.9855, allocations: 144.2 kB / 1.294 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.9858, allocations: 208.2 kB / 1.294 GB, free: 312 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9858, allocations: 1.406 kB / 1.294 GB, free: 312 kB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000351/0.9862, allocations: 212.8 kB / 1.294 GB, free: 212 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9862, allocations: 6.531 kB / 1.294 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9862, allocations: 4.594 kB / 1.294 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.9862, allocations: 9.203 kB / 1.294 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.9864, allocations: 55.28 kB / 1.294 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.9864, allocations: 14.31 kB / 1.294 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.9865, allocations: 31.78 kB / 1.294 GB, free: 168 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.9865, allocations: 11.42 kB / 1.294 GB, free: 168 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001239/0.9867, allocations: 132 kB / 1.295 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.9867, allocations: 17.16 kB / 1.295 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.9871, allocations: 154.7 kB / 1.295 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9871, allocations: 5.375 kB / 1.295 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9871, allocations: 2.328 kB / 1.295 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.9871, allocations: 0.5156 kB / 1.295 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.9874, allocations: 215.7 kB / 1.295 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9874, allocations: 0.7031 kB / 1.295 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.9875, allocations: 29.44 kB / 1.295 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9875, allocations: 1 kB / 1.295 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.9875, allocations: 7.172 kB / 1.295 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.9875, allocations: 4.453 kB / 1.295 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9875, allocations: 5.531 kB / 1.295 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.9878, allocations: 214.1 kB / 1.295 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.9879, allocations: 109 kB / 1.295 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.9879, allocations: 5.344 kB / 1.295 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.9881, allocations: 21.8 kB / 1.295 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.9882, allocations: 11.8 kB / 1.295 GB, free: 15.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.9882, allocations: 12.14 kB / 1.295 GB, free: 15.42 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001058/0.9883, allocations: 119.6 kB / 1.295 GB, free: 15.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9883, allocations: 0 / 1.295 GB, free: 15.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004433/0.9888, allocations: 84.23 kB / 1.296 GB, free: 15.31 MB / 1.014 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0009211/0.9897, allocations: 0.8324 MB / 1.296 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.99, allocations: 112.7 kB / 1.296 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.99, allocations: 1.156 kB / 1.296 GB, free: 14.56 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.9901, allocations: 41.69 kB / 1.297 GB, free: 14.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.9905, allocations: 60.98 kB / 1.297 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.9932, allocations: 2.039 MB / 1.299 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.9936, allocations: 0.7144 MB / 1.299 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.9938, allocations: 56.27 kB / 1.299 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.9939, allocations: 44.17 kB / 1.299 GB, free: 12.08 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.9939, allocations: 0 / 1.299 GB, free: 12.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/1.019, allocations: 5.312 MB / 1.305 GB, free: 11.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.631, allocations: 8.297 kB / 1.305 GB, free: 11.32 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.329911024018656]