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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001243/0.001243, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.9 MB / 0.666 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004568, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7302, allocations: 142.4 MB / 0.9544 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001463/0.7317, allocations: 1.097 MB / 0.9555 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.7348, allocations: 2.736 MB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.7349, allocations: 0 / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.048e-05/0.7349, allocations: 3.984 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.7351, allocations: 41.5 kB / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.7355, allocations: 160 kB / 0.9584 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.7358, allocations: 276 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.7358, allocations: 2.688 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.7359, allocations: 87.3 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.7361, allocations: 148.4 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.7361, allocations: 11.12 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.7365, allocations: 158.7 kB / 0.959 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.7366, allocations: 87.94 kB / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.7367, allocations: 52.86 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.737, allocations: 191.5 kB / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.737, allocations: 0 / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.737, allocations: 0 / 0.9593 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.737, allocations: 1.375 kB / 0.9593 GB, free: 4.078 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.0007565/0.7378, allocations: 0.5306 MB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7378, allocations: 9.625 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.7379, allocations: 17.44 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.7382, allocations: 231.5 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.7383, allocations: 27.11 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.7383, allocations: 13.62 kB / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.7389, allocations: 318.9 kB / 0.9604 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7389, allocations: 0 / 0.9604 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.739, allocations: 9.109 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.739, allocations: 4.625 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.7405, allocations: 0.8037 MB / 0.9612 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.7409, allocations: 317.7 kB / 0.9615 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.7426, allocations: 0.775 MB / 0.9623 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.7431, allocations: 255.7 kB / 0.9625 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.7434, allocations: 389.2 kB / 0.9629 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.7435, allocations: 33.09 kB / 0.9629 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.7435, allocations: 4 kB / 0.9629 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001666/0.7451, allocations: 0.7328 MB / 0.9637 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.7452, allocations: 67.52 kB / 0.9637 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.7453, allocations: 128.2 kB / 0.9639 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.7453, allocations: 30.64 kB / 0.9639 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.7454, allocations: 86.89 kB / 0.964 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.7455, allocations: 130.1 kB / 0.9641 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.7455, allocations: 5 kB / 0.9641 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.7456, allocations: 328 kB / 0.9644 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.746, allocations: 228.6 kB / 0.9646 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.7465, allocations: 223.3 kB / 0.9648 GB, free: 492 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.747, allocations: 219 kB / 0.965 GB, free: 404 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.747, allocations: 0 / 0.965 GB, free: 404 kB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00103/0.748, allocations: 0.4989 MB / 0.9655 GB, free: 196 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.748, allocations: 4.906 kB / 0.9655 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.7481, allocations: 1.031 kB / 0.9655 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7481, allocations: 1 kB / 0.9655 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.7485, allocations: 117.3 kB / 0.9657 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.7485, allocations: 9.047 kB / 0.9657 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.7487, allocations: 59.52 kB / 0.9657 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.7487, allocations: 16.28 kB / 0.9657 GB, free: 120 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.7489, allocations: 139.8 kB / 0.9659 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.7489, allocations: 16.28 kB / 0.9659 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.7502, allocations: 0.5818 MB / 0.9664 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.7502, allocations: 4.188 kB / 0.9665 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.7502, allocations: 4 kB / 0.9665 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.7502, allocations: 7.938 kB / 0.9665 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.7506, allocations: 310.2 kB / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7506, allocations: 0 / 0.9668 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.751, allocations: 113.9 kB / 0.9669 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.751, allocations: 1.094 kB / 0.9669 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.751, allocations: 11.73 kB / 0.9669 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.751, allocations: 1.281 kB / 0.9669 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.751, allocations: 0.875 kB / 0.9669 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.7522, allocations: 0.5426 MB / 0.9674 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.7523, allocations: 99.61 kB / 0.9675 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.7523, allocations: 5.125 kB / 0.9675 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.7525, allocations: 57.23 kB / 0.9676 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.7528, allocations: 122.8 kB / 0.9677 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.7528, allocations: 15.98 kB / 0.9677 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.7529, allocations: 98.45 kB / 0.9678 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7529, allocations: 4 kB / 0.9678 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004914/0.7534, allocations: 116.2 kB / 0.9679 GB, free: 14.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004361/0.7539, allocations: 193 kB / 0.9681 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.7551, allocations: 0.5199 MB / 0.9686 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7551, allocations: 1 kB / 0.9686 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.7557, allocations: 289.5 kB / 0.9689 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.7562, allocations: 86.17 kB / 0.969 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/0.7571, allocations: 0.4921 MB / 0.9694 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.7574, allocations: 0.7347 MB / 0.9702 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000461/0.7578, allocations: 184.7 kB / 0.9703 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-05/0.758, allocations: 34.7 kB / 0.9704 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.758, allocations: 1.188 kB / 0.9704 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.009373/0.7673, allocations: 4.699 MB / 0.975 GB, free: 10.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (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 & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches