Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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.001138/0.001138, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001118/0.001118, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 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.044/1.044, allocations: 177.2 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.22/2.22, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 3.984 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.94e-05, allocations: 3.656 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.005167/0.005196, allocations: 1.358 MB / 0.8795 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.006811, allocations: 1.206 MB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.006848, allocations: 0.5 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.006874, allocations: 1.688 kB / 0.8807 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.006958, allocations: 15.86 kB / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00362/0.01058, allocations: 152.5 kB / 0.8808 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.01066, allocations: 43.8 kB / 0.8809 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.0107, allocations: 4 kB / 0.8809 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.01076, allocations: 32.98 kB / 0.8809 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.01079, allocations: 11.98 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.0108, allocations: 8.594 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.01117, allocations: 131.8 kB / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.01119, allocations: 13.58 kB / 0.881 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.01121, allocations: 11.94 kB / 0.8811 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.01144, allocations: 139.5 kB / 0.8812 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01145, allocations: 0 / 0.8812 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.465e-06/0.01145, allocations: 6.891 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.01146, allocations: 0 / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003742/0.01183, allocations: 400.2 kB / 0.8816 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.01187, allocations: 8.031 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.01192, allocations: 8.891 kB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.01201, allocations: 112.6 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.01203, allocations: 4.375 kB / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.01204, allocations: 4.375 kB / 0.8817 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.01216, allocations: 67.19 kB / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.01217, allocations: 192 / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.01218, allocations: 4.375 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01219, allocations: 7.938 kB / 0.8818 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.01226, allocations: 44.5 kB / 0.8818 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.0124, allocations: 126 kB / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.694e-05/0.0125, allocations: 78.14 kB / 0.882 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.01254, allocations: 31.42 kB / 0.8821 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003598/0.01614, allocations: 257.5 kB / 0.8823 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.01617, allocations: 37.33 kB / 0.8823 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.01618, allocations: 0 / 0.8823 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002432/0.01642, allocations: 89.56 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.01647, allocations: 81.05 kB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.01655, allocations: 157.9 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.01656, allocations: 29.7 kB / 0.8827 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.01659, allocations: 130.9 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.01663, allocations: 31.73 kB / 0.8828 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.01667, allocations: 23.38 kB / 0.8829 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.0168, allocations: 0.4885 MB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.01682, allocations: 12 kB / 0.8833 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.01686, allocations: 31.36 kB / 0.8834 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.272e-05/0.01692, allocations: 43.31 kB / 0.8834 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01693, allocations: 4 kB / 0.8834 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001104/0.01704, allocations: 85.48 kB / 0.8835 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.01705, allocations: 10.03 kB / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01706, allocations: 0 / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01707, allocations: 0 / 0.8835 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.01715, allocations: 12 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01716, allocations: 11.95 kB / 0.8835 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.01718, allocations: 8 kB / 0.8835 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01719, allocations: 4 kB / 0.8835 GB, free: 0.6055 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.832e-05/0.01726, allocations: 156.6 kB / 0.8837 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.01727, allocations: 7.953 kB / 0.8837 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.01743, allocations: 102.1 kB / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01743, allocations: 0 / 0.8838 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01744, allocations: 7.938 kB / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01744, allocations: 0 / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.887e-05/0.01753, allocations: 124.6 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01753, allocations: 4.031 kB / 0.8839 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.01758, allocations: 19.92 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01758, allocations: 0 / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01759, allocations: 4 kB / 0.884 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01759, allocations: 0 / 0.884 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01759, allocations: 0 / 0.884 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01772, allocations: 128 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.01775, allocations: 7.938 kB / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.01776, allocations: 0 / 0.8841 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.01778, allocations: 8 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.0178, allocations: 11.92 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.0178, allocations: 4 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.01784, allocations: 123.2 kB / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01784, allocations: 0 / 0.8842 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002634/0.0181, allocations: 59.73 kB / 0.8843 GB, free: 15.78 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0002838/0.01839, allocations: 186.9 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01851, allocations: 47.67 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01851, allocations: 0 / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.197e-05/0.01854, allocations: 31.61 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.02177, allocations: 18.05 kB / 0.8845 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.0223, allocations: 197.8 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.415e-05/0.02234, allocations: 55.36 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.02238, allocations: 12.02 kB / 0.8848 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.0224, allocations: 16.5 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/0.0224, allocations: 0 / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.007065/0.02947, allocations: 1.775 MB / 0.8866 GB, free: 13.41 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.732328546233475]