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.001179/0.001179, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002168/0.003347, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008098/0.0008098, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001815, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.986/0.986, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.116/1.102, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.382/2.382, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2365/2.618, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.272e-06/1.272e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.428e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001538/0.001552, allocations: 1.403 MB / 0.8203 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.00267, allocations: 1.219 MB / 0.8215 GB, free: 15.86 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.002691, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 7.234e-06/0.002698, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.002733, allocations: 19.84 kB / 0.8215 GB, free: 15.84 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.003021, allocations: 147.3 kB / 0.8216 GB, free: 15.69 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.003084, allocations: 47.72 kB / 0.8217 GB, free: 15.64 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 3.326e-05/0.003117, allocations: 4 kB / 0.8217 GB, free: 15.64 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.003179, allocations: 31.91 kB / 0.8217 GB, free: 15.61 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 2.88e-05/0.003208, allocations: 15.97 kB / 0.8217 GB, free: 15.59 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.00322, allocations: 0 / 0.8217 GB, free: 15.59 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.003485, allocations: 147.7 kB / 0.8219 GB, free: 15.45 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.003497, allocations: 4 kB / 0.8219 GB, free: 15.45 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.003513, allocations: 15.88 kB / 0.8219 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.003683, allocations: 119.7 kB / 0.822 GB, free: 15.31 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.003693, allocations: 4 kB / 0.822 GB, free: 15.31 MB / 0.8074 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003694, allocations: 0 / 0.822 GB, free: 15.31 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 9.527e-06/0.003703, allocations: 4 kB / 0.822 GB, free: 15.3 MB / 0.8074 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.0002885/0.003992, allocations: 292.2 kB / 0.8223 GB, free: 15 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.004022, allocations: 16.02 kB / 0.8223 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.004046, allocations: 4.938 kB / 0.8223 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.081e-05/0.004117, allocations: 113.7 kB / 0.8224 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.004127, allocations: 8.375 kB / 0.8224 GB, free: 14.83 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.004135, allocations: 384 / 0.8224 GB, free: 14.83 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/0.004208, allocations: 63.94 kB / 0.8225 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004214, allocations: 192 / 0.8225 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.00422, allocations: 4.375 kB / 0.8225 GB, free: 14.75 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.004227, allocations: 7.938 kB / 0.8225 GB, free: 14.75 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.004261, allocations: 31.89 kB / 0.8225 GB, free: 14.71 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.004489, allocations: 73.84 kB / 0.8226 GB, free: 14.62 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.004562, allocations: 61.33 kB / 0.8226 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.004585, allocations: 21.77 kB / 0.8227 GB, free: 14.52 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.004993, allocations: 251.8 kB / 0.8229 GB, free: 14.27 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.005012, allocations: 34.55 kB / 0.8229 GB, free: 14.23 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.005013, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.8074 GB Notification: Performance of matching and sorting (n=9): time 0.0001016/0.005115, allocations: 61.86 kB / 0.823 GB, free: 14.16 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.005141, allocations: 77.11 kB / 0.8231 GB, free: 14.07 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.005187, allocations: 110.7 kB / 0.8232 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.005196, allocations: 25.7 kB / 0.8232 GB, free: 13.92 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.005213, allocations: 84.14 kB / 0.8233 GB, free: 13.83 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.005241, allocations: 31.86 kB / 0.8233 GB, free: 13.8 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.005265, allocations: 21.7 kB / 0.8233 GB, free: 13.77 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.005337, allocations: 322.8 kB / 0.8236 GB, free: 13.45 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.005347, allocations: 7.984 kB / 0.8236 GB, free: 13.44 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.005366, allocations: 25.64 kB / 0.8237 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.005402, allocations: 37.75 kB / 0.8237 GB, free: 13.37 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005404, allocations: 3.938 kB / 0.8237 GB, free: 13.36 MB / 0.8074 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.329e-05/0.005457, allocations: 53.62 kB / 0.8238 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.005473, allocations: 9.406 kB / 0.8238 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.005477, allocations: 0 / 0.8238 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.005486, allocations: 4.031 kB / 0.8238 GB, free: 13.29 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.005538, allocations: 19.98 kB / 0.8238 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.00554, allocations: 0 / 0.8238 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.005558, allocations: 19.83 kB / 0.8238 GB, free: 13.25 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.005563, allocations: 4 kB / 0.8238 GB, free: 13.25 MB / 0.8074 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 4.543e-05/0.005609, allocations: 113.8 kB / 0.8239 GB, free: 13.13 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.005618, allocations: 11.98 kB / 0.8239 GB, free: 13.12 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.005707, allocations: 65.8 kB / 0.824 GB, free: 13.05 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00571, allocations: 3.984 kB / 0.824 GB, free: 13.04 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.005711, allocations: 7.969 kB / 0.824 GB, free: 13.04 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005714, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.868e-05/0.005773, allocations: 85.78 kB / 0.8241 GB, free: 12.93 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005773, allocations: 0 / 0.8241 GB, free: 12.93 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.005801, allocations: 19.98 kB / 0.8241 GB, free: 12.91 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.005822, allocations: 15.92 kB / 0.8241 GB, free: 12.9 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.005822, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-06/0.005826, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.005828, allocations: 4 kB / 0.8241 GB, free: 12.89 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005829, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.569e-05/0.005894, allocations: 94.2 kB / 0.8242 GB, free: 12.78 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.005902, allocations: 12 kB / 0.8242 GB, free: 12.77 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.005912, allocations: 3.984 kB / 0.8242 GB, free: 12.77 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.005925, allocations: 7.984 kB / 0.8242 GB, free: 12.76 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.005927, allocations: 0 / 0.8242 GB, free: 12.76 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.181e-05/0.005939, allocations: 8.859 kB / 0.8243 GB, free: 12.75 MB / 0.8074 GB Notification: Performance of sort global known variables: time 4e-08/0.005939, allocations: 0 / 0.8243 GB, free: 12.75 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.000141/0.00608, allocations: 55.8 kB / 0.8243 GB, free: 12.69 MB / 0.8074 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.0001933/0.006273, allocations: 172.1 kB / 0.8245 GB, free: 12.52 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.00634, allocations: 36.72 kB / 0.8245 GB, free: 12.48 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.006343, allocations: 0 / 0.8245 GB, free: 12.48 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.006368, allocations: 32.84 kB / 0.8245 GB, free: 12.44 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.006498, allocations: 51.88 kB / 0.8246 GB, free: 12.39 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.007343, allocations: 185.4 kB / 0.8248 GB, free: 12.18 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.737e-05/0.00737, allocations: 59.22 kB / 0.8248 GB, free: 12.1 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.007404, allocations: 12.02 kB / 0.8248 GB, free: 12.09 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.007452, allocations: 63.38 kB / 0.8249 GB, free: 12.02 MB / 0.8074 GB Notification: Performance of SimCode: time 4.91e-07/0.007452, allocations: 4 kB / 0.8249 GB, free: 12.02 MB / 0.8074 GB Notification: Performance of Templates: time 0.002923/0.01037, allocations: 1.827 MB / 0.8267 GB, free: 10.21 MB / 0.8074 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157360577955842]