Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001212/0.001212, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.002/2.002, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4692, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001785/0.471, allocations: 1.39 MB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.4733, allocations: 2.909 MB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.4733, allocations: 1.156 kB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.4734, allocations: 7.922 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.4735, allocations: 41.56 kB / 0.954 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.4739, allocations: 187.4 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4741, allocations: 240.6 kB / 0.9544 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.4741, allocations: 7.719 kB / 0.9544 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.4742, allocations: 93.91 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.4743, allocations: 123.6 kB / 0.9546 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.4743, allocations: 10.47 kB / 0.9546 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.4746, allocations: 133 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.4747, allocations: 94.56 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.4748, allocations: 94.06 kB / 0.9549 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4751, allocations: 272.8 kB / 0.9552 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4751, allocations: 4 kB / 0.9552 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4751, allocations: 0 / 0.9552 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4751, allocations: 0 / 0.9552 GB, free: 4.957 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006084/0.4757, allocations: 0.5278 MB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.4757, allocations: 10.47 kB / 0.9557 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.4758, allocations: 52.23 kB / 0.9557 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.4759, allocations: 18.28 kB / 0.9557 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.476, allocations: 240.8 kB / 0.956 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.4761, allocations: 28.42 kB / 0.956 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4761, allocations: 13.41 kB / 0.956 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.4766, allocations: 293.2 kB / 0.9563 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4767, allocations: 5.141 kB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.4767, allocations: 5.094 kB / 0.9563 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4767, allocations: 4.281 kB / 0.9563 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.4779, allocations: 0.7454 MB / 0.957 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.4781, allocations: 305.5 kB / 0.9573 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.4795, allocations: 0.6827 MB / 0.958 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/0.48, allocations: 226.5 kB / 0.9582 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.4803, allocations: 394 kB / 0.9586 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.4803, allocations: 40.64 kB / 0.9586 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.373e-06/0.4803, allocations: 0 / 0.9586 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001398/0.4817, allocations: 0.6442 MB / 0.9593 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.4817, allocations: 55.75 kB / 0.9593 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.4818, allocations: 133.2 kB / 0.9594 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.4818, allocations: 30.64 kB / 0.9595 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.81e-05/0.4818, allocations: 87.08 kB / 0.9595 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.4819, allocations: 126.3 kB / 0.9597 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.482, allocations: 65.38 kB / 0.9597 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.482, allocations: 330.7 kB / 0.96 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.4824, allocations: 191.5 kB / 0.9602 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.4829, allocations: 202.3 kB / 0.9604 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.4836, allocations: 363.1 kB / 0.9608 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4836, allocations: 3.938 kB / 0.9608 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009089/0.4845, allocations: 472.1 kB / 0.9612 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.4846, allocations: 4.531 kB / 0.9612 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.4846, allocations: 4 kB / 0.9612 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4846, allocations: 2.25 kB / 0.9612 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4849, allocations: 99.91 kB / 0.9613 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4849, allocations: 1.031 kB / 0.9613 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.4851, allocations: 54.38 kB / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.4851, allocations: 12.8 kB / 0.9614 GB, free: 0.8594 MB / 0.7169 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 (37): * Single equations (assignments): 37 * 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 7.851e-05/0.4852, allocations: 147.2 kB / 0.9615 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.4852, allocations: 20.44 kB / 0.9616 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4863, allocations: 0.5095 MB / 0.9621 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4863, allocations: 6.891 kB / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4863, allocations: 1.062 kB / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4863, allocations: 0 / 0.9621 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.4865, allocations: 317.4 kB / 0.9624 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4865, allocations: 5.062 kB / 0.9624 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.4868, allocations: 99.91 kB / 0.9625 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4868, allocations: 1.062 kB / 0.9625 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.4869, allocations: 16.36 kB / 0.9625 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4869, allocations: 1.125 kB / 0.9625 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4869, allocations: 1.031 kB / 0.9625 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.4879, allocations: 0.4903 MB / 0.963 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.4879, allocations: 102.1 kB / 0.9631 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.488, allocations: 6.219 kB / 0.9631 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.4881, allocations: 39.55 kB / 0.9631 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.4883, allocations: 116.1 kB / 0.9632 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.4884, allocations: 15.73 kB / 0.9632 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.4884, allocations: 104.2 kB / 0.9633 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.4884, allocations: 0 / 0.9633 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003143/0.4887, allocations: 116.9 kB / 0.9634 GB, free: 15.55 MB / 0.7325 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 (37): * Single equations (assignments): 37 * 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.001415/0.4902, allocations: 1.118 MB / 0.9645 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.4913, allocations: 0.5571 MB / 0.9651 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4913, allocations: 0 / 0.9651 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.4918, allocations: 259.7 kB / 0.9653 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.4921, allocations: 82.42 kB / 0.9654 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.4957, allocations: 2.658 MB / 0.968 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.4959, allocations: 0.7307 MB / 0.9687 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.4963, allocations: 180.9 kB / 0.9689 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4964, allocations: 67.42 kB / 0.9689 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.4964, allocations: 0 / 0.9689 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.26/2.757, allocations: 7.359 MB / 0.9761 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.872/12.63, allocations: 9.75 kB / 0.9761 GB, free: 6.355 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches