Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,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.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001401/0.001401, allocations: 172.7 kB / 15.95 MB, free: 208 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.312 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.551/2.551, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7349, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001969/0.7369, allocations: 1.093 MB / 0.9555 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.7407, allocations: 2.743 MB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.7408, allocations: 1.375 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.7409, allocations: 7.922 kB / 0.9582 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.741, allocations: 37.22 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.7416, allocations: 156 kB / 0.9584 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.7418, allocations: 280.9 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.7419, allocations: 2.906 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.742, allocations: 90.59 kB / 0.9587 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.7422, allocations: 140.2 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.7423, allocations: 10.75 kB / 0.9589 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.7427, allocations: 156.1 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.7428, allocations: 91.5 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.7429, allocations: 52.89 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.7432, allocations: 191.3 kB / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7432, allocations: 0 / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7432, allocations: 0 / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7433, allocations: 0 / 0.9593 GB, free: 3.969 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.0007388/0.744, allocations: 0.5281 MB / 0.9598 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.744, allocations: 8.25 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.7442, allocations: 17.44 kB / 0.9599 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.7444, allocations: 234.6 kB / 0.9601 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.7445, allocations: 23.67 kB / 0.9601 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.7445, allocations: 17.84 kB / 0.9601 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.7452, allocations: 318.6 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7452, allocations: 1.031 kB / 0.9604 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.7452, allocations: 20.95 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7453, allocations: 3.219 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.7466, allocations: 0.8041 MB / 0.9613 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.747, allocations: 309.8 kB / 0.9615 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.7485, allocations: 0.7769 MB / 0.9623 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.749, allocations: 256.8 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00031/0.7493, allocations: 389.4 kB / 0.9629 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.7494, allocations: 37.25 kB / 0.963 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.7494, allocations: 0 / 0.963 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001498/0.7509, allocations: 0.7362 MB / 0.9637 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.7509, allocations: 59.05 kB / 0.9637 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.774e-05/0.751, allocations: 125.5 kB / 0.9639 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.751, allocations: 35.08 kB / 0.9639 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.751, allocations: 87.48 kB / 0.964 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.7511, allocations: 129.9 kB / 0.9641 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/0.7512, allocations: 5.344 kB / 0.9641 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.7512, allocations: 330.8 kB / 0.9644 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.7517, allocations: 220.4 kB / 0.9646 GB, free: 460 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.7521, allocations: 227.7 kB / 0.9648 GB, free: 376 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.7526, allocations: 214.9 kB / 0.965 GB, free: 292 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7526, allocations: 0 / 0.965 GB, free: 292 kB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001004/0.7536, allocations: 0.5029 MB / 0.9655 GB, free: 80 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7536, allocations: 5.125 kB / 0.9655 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7537, allocations: 0 / 0.9655 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7537, allocations: 2.094 kB / 0.9655 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.754, allocations: 116.4 kB / 0.9657 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.7541, allocations: 5.984 kB / 0.9657 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.7542, allocations: 62.86 kB / 0.9657 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.7543, allocations: 17 kB / 0.9657 GB, free: 4 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.0001518/0.7544, allocations: 140.1 kB / 0.9659 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.7545, allocations: 15.5 kB / 0.9659 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.7557, allocations: 0.5743 MB / 0.9664 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7557, allocations: 3.844 kB / 0.9664 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7557, allocations: 0 / 0.9664 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.7557, allocations: 9.5 kB / 0.9665 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.7561, allocations: 309.5 kB / 0.9668 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7561, allocations: 3.938 kB / 0.9668 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.7564, allocations: 112.3 kB / 0.9669 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7564, allocations: 2.5 kB / 0.9669 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.7565, allocations: 11.02 kB / 0.9669 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.7565, allocations: 6.156 kB / 0.9669 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7565, allocations: 3.938 kB / 0.9669 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.7576, allocations: 0.5485 MB / 0.9674 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.7577, allocations: 93.17 kB / 0.9675 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.7577, allocations: 10.16 kB / 0.9675 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.7579, allocations: 48.77 kB / 0.9676 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.7581, allocations: 123.2 kB / 0.9677 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.7581, allocations: 16.48 kB / 0.9677 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.7582, allocations: 100 kB / 0.9678 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7582, allocations: 0.9688 kB / 0.9678 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004053/0.7586, allocations: 116.2 kB / 0.9679 GB, free: 14.68 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.0003776/0.759, allocations: 188.6 kB / 0.9681 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7602, allocations: 0.5164 MB / 0.9686 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7602, allocations: 0 / 0.9686 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.7607, allocations: 294.8 kB / 0.9689 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.7612, allocations: 78.47 kB / 0.9689 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.762, allocations: 0.4957 MB / 0.9694 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.7623, allocations: 0.7345 MB / 0.9701 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000452/0.7628, allocations: 192.9 kB / 0.9703 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.7629, allocations: 34.36 kB / 0.9704 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.7629, allocations: 0 / 0.9704 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.009537/0.7724, allocations: 4.687 MB / 0.9749 GB, free: 10.1 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches