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.0008222/0.0008222, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008122/0.0008122, allocations: 173.9 kB / 23.2 MB, free: 1.344 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 0.8459/0.8459, allocations: 177.2 MB / 203.6 MB, free: 5.699 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 1.721/1.721, allocations: 388.8 MB / 0.6336 GB, free: 13.02 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.684e-06/1.684e-06, allocations: 0 / 1 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.137e-05, allocations: 6.219 kB / 1 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001547/0.001568, allocations: 1.306 MB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002843, allocations: 1.111 MB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.002866, allocations: 0 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.002884, allocations: 7.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.00295, allocations: 11.91 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.003346, allocations: 151.3 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.003413, allocations: 43.8 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.003455, allocations: 7.984 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.003503, allocations: 19.98 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.003531, allocations: 23.91 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.003545, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.003821, allocations: 135.8 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.003832, allocations: 4 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.003858, allocations: 31.84 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.004037, allocations: 131.6 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00404, allocations: 7.938 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004041, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.004048, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 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.0003162/0.004364, allocations: 294 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.004405, allocations: 8.75 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.004433, allocations: 4.938 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.995e-05/0.004513, allocations: 113.7 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004521, allocations: 384 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.004536, allocations: 12.38 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.00465, allocations: 67.89 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004659, allocations: 192 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.004671, allocations: 4.375 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004676, allocations: 3.938 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.131e-05/0.004738, allocations: 43.95 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.00486, allocations: 114.1 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.007e-05/0.00494, allocations: 73.08 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.004973, allocations: 25.78 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.005436, allocations: 259.8 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.005456, allocations: 30.56 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 7.61e-07/0.005457, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001791/0.005636, allocations: 93.83 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.005674, allocations: 81.05 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.262e-05/0.005727, allocations: 105.8 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.005735, allocations: 29.83 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.005755, allocations: 80.14 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.005783, allocations: 31.7 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.005814, allocations: 29.7 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.005887, allocations: 310.8 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.00591, allocations: 15.98 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.005935, allocations: 29.7 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.005985, allocations: 37.91 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.005988, allocations: 4 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.543e-05/0.006063, allocations: 81.55 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.006075, allocations: 12.03 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.006078, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.00609, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.006145, allocations: 23.86 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.006152, allocations: 3.938 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.00617, allocations: 7.953 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.006174, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 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 5.193e-05/0.006226, allocations: 113.8 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.006233, allocations: 4 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.006362, allocations: 97.72 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006364, allocations: 4 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.006368, allocations: 3.938 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006371, allocations: 3.938 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.053e-05/0.006442, allocations: 125.2 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006443, allocations: 0 / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.006468, allocations: 16 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.006471, allocations: 3.984 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006477, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006477, allocations: 0 / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.006479, allocations: 4 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.41e-05/0.006563, allocations: 105.9 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.006586, allocations: 15.94 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.006596, allocations: 7.984 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-06/0.006605, allocations: 0 / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.006622, allocations: 7.938 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006626, allocations: 4 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.006649, allocations: 87.2 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006649, allocations: 0 / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001657/0.006814, allocations: 55.81 kB / 1.006 GB, free: 7.844 MB / 0.9636 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.0001921/0.007006, allocations: 178.9 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.007098, allocations: 52.31 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.0071, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.007119, allocations: 16.16 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.007291, allocations: 24.25 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.007549, allocations: 191.3 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007583, allocations: 63.34 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.007606, allocations: 24.48 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of SimCode: time 2.71e-07/0.007606, allocations: 0 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of Templates: time 0.001992/0.009598, allocations: 1.587 MB / 1.008 GB, free: 5.656 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] 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: 6.598292962182313]