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.001884/0.001884, allocations: 85.48 kB / 19.44 MB, free: 336 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.001977/0.001977, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.615/1.615, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.451/3.451, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.054e-06/2.054e-06, allocations: 0.875 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.887e-05, allocations: 3.219 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.002504/0.002533, allocations: 1.331 MB / 0.8787 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.004722, allocations: 1.197 MB / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.004742, allocations: 0 / 0.8799 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.004759, allocations: 3.938 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.004833, allocations: 13.05 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.005328, allocations: 159.2 kB / 0.8801 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.622e-05/0.005414, allocations: 51.77 kB / 0.8801 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.005447, allocations: 4 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.005506, allocations: 23.92 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/0.005532, allocations: 7.984 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.005549, allocations: 7.984 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.005922, allocations: 139.7 kB / 0.8803 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.005937, allocations: 7.984 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.005963, allocations: 12 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.00623, allocations: 147.5 kB / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006233, allocations: 0 / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006233, allocations: 0 / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.006237, allocations: 0 / 0.8804 GB, free: 3.582 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.0004786/0.006715, allocations: 396 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.006748, allocations: 8.031 kB / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.006792, allocations: 8.891 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.006912, allocations: 112.6 kB / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.006924, allocations: 384 / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.006936, allocations: 8.375 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.007078, allocations: 73.55 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.007087, allocations: 4.188 kB / 0.881 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.007097, allocations: 4.375 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.007102, allocations: 3.938 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.063e-05/0.007193, allocations: 43.89 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.007388, allocations: 132.3 kB / 0.8812 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.007536, allocations: 90.14 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.007597, allocations: 35.44 kB / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008213/0.008418, allocations: 243.8 kB / 0.8816 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.008459, allocations: 41.33 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.00846, allocations: 0 / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002497/0.00871, allocations: 97.56 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.008774, allocations: 81.05 kB / 0.8818 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.008892, allocations: 157.9 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.008917, allocations: 29.7 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.008986, allocations: 126.9 kB / 0.8821 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.009029, allocations: 36.02 kB / 0.8821 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.00908, allocations: 31.36 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002634/0.009344, allocations: 492.1 kB / 0.8826 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.009377, allocations: 15.98 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.009437, allocations: 35.31 kB / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.331e-05/0.00953, allocations: 51.3 kB / 0.8827 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.009532, allocations: 0 / 0.8827 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001397/0.009671, allocations: 77.64 kB / 0.8828 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.009687, allocations: 8 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.00969, allocations: 4.422 kB / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.009703, allocations: 4.125 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.009779, allocations: 15.98 kB / 0.8828 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.009788, allocations: 7.938 kB / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.009809, allocations: 0 / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.00982, allocations: 7.984 kB / 0.8828 GB, free: 0.8984 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 0.0001131/0.009933, allocations: 156.6 kB / 0.883 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.009953, allocations: 8 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.01017, allocations: 109.6 kB / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01018, allocations: 0 / 0.8831 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01018, allocations: 7.969 kB / 0.8831 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01018, allocations: 4 kB / 0.8831 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01032, allocations: 128.6 kB / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.01032, allocations: 0 / 0.8832 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.01038, allocations: 12 kB / 0.8832 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01039, allocations: 7.938 kB / 0.8832 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.0104, allocations: 7.922 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.0104, allocations: 0 / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0104, allocations: 0 / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.01058, allocations: 128 kB / 0.8834 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.097e-05/0.01061, allocations: 11.98 kB / 0.8834 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.01062, allocations: 4 kB / 0.8834 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.01064, allocations: 0 / 0.8834 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.01068, allocations: 15.92 kB / 0.8834 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01068, allocations: 4 kB / 0.8834 GB, free: 236 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.01076, allocations: 127.2 kB / 0.8835 GB, free: 108 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01076, allocations: 0 / 0.8835 GB, free: 108 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002606/0.01102, allocations: 51.81 kB / 0.8836 GB, free: 56 kB / 0.8386 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.0003572/0.01137, allocations: 182.9 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.01151, allocations: 55.86 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01152, allocations: 0 / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.01157, allocations: 43.55 kB / 0.8838 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.01178, allocations: 11.98 kB / 0.8838 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.01216, allocations: 177.9 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.296e-05/0.01222, allocations: 63.34 kB / 0.8841 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.501e-05/0.01227, allocations: 11.94 kB / 0.8841 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.0123, allocations: 12.5 kB / 0.8841 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.0123, allocations: 0 / 0.8841 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.005069/0.01737, allocations: 1.604 MB / 0.8857 GB, free: 13.86 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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: 8.622764075058512]