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.0008054/0.0008054, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.00081/0.00081, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8677/0.8677, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.737/1.737, allocations: 389 MB / 0.6338 GB, free: 12.7 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.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.605e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001721/0.001747, allocations: 1.313 MB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.002866, allocations: 1.111 MB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.002891, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.002912, allocations: 3.938 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.002983, allocations: 15.91 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.003401, allocations: 155.2 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.003465, allocations: 47.73 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.003502, allocations: 7.984 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.003548, allocations: 19.98 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.698e-05/0.003575, allocations: 23.91 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.003588, allocations: 0 / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.003847, allocations: 131.8 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.003858, allocations: 11.94 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003878, allocations: 19.97 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.004058, allocations: 143.5 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00406, allocations: 0 / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004061, allocations: 0 / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.004065, allocations: 0 / 1.004 GB, free: 10.04 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.0002837/0.004349, allocations: 286 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004383, allocations: 13.33 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.004413, allocations: 4.938 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.004489, allocations: 109.7 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.004501, allocations: 12.38 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.004511, allocations: 4.375 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.958e-05/0.00461, allocations: 67.95 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.004617, allocations: 192 / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.004625, allocations: 384 / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004631, allocations: 7.938 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.004691, allocations: 43.89 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.00482, allocations: 118.1 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.988e-05/0.004899, allocations: 65.16 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.004934, allocations: 33.66 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004578/0.005392, allocations: 260 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.005415, allocations: 38.55 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.005417, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001696/0.005586, allocations: 85.84 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.005619, allocations: 89.05 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.005669, allocations: 97.84 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.005678, allocations: 25.83 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.005697, allocations: 88.08 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.005727, allocations: 31.7 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.005757, allocations: 29.7 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.005832, allocations: 310.8 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.005851, allocations: 15.98 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.005877, allocations: 21.72 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.217e-05/0.005929, allocations: 49.7 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005931, allocations: 4 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.234e-05/0.006013, allocations: 77.8 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.006023, allocations: 8.031 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006027, allocations: 0 / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.006039, allocations: 4 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.006092, allocations: 19.97 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.006097, allocations: 3.938 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.00611, allocations: 3.953 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006117, allocations: 8 kB / 1.006 GB, free: 7.832 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.124e-05/0.006168, allocations: 109.8 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.006174, allocations: 0 / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.006297, allocations: 101.8 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006299, allocations: 4.031 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.006303, allocations: 3.938 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.006308, allocations: 4 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.935e-05/0.006377, allocations: 125.2 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006378, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.006405, allocations: 15.94 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006407, allocations: 0 / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006414, allocations: 7.984 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006415, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.006415, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.438e-05/0.0065, allocations: 113.9 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.006524, allocations: 15.94 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.006532, allocations: 0 / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.006543, allocations: 4 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.006559, allocations: 11.92 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.006562, allocations: 4 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.435e-05/0.006587, allocations: 83.27 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006587, allocations: 3.938 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001748/0.006762, allocations: 51.91 kB / 1.006 GB, free: 7.113 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.0002062/0.006968, allocations: 190.9 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.712e-05/0.007055, allocations: 39.91 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007056, allocations: 0 / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.00708, allocations: 23.94 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.007252, allocations: 18.22 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.007509, allocations: 191.4 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.007546, allocations: 67.34 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.007568, allocations: 20.48 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.007569, allocations: 0 / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of Templates: time 0.002081/0.00965, allocations: 1.603 MB / 1.008 GB, free: 4.91 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.657988679595292]