Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.000754/0.000754, allocations: 84.44 kB / 19.17 MB, free: 0.7305 MB / 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.0007514/0.0007514, allocations: 169.9 kB / 22.45 MB, free: 2.094 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.8787/0.8787, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.714/1.714, allocations: 388.8 MB / 0.6328 GB, free: 13.03 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: "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 4 kB / 0.9992 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.071e-05, allocations: 6.219 kB / 0.9992 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.00177/0.00179, allocations: 1.296 MB / 1 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.00322, allocations: 1.496 MB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.003243, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.003263, allocations: 7.938 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.003334, allocations: 15.91 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.003836, allocations: 207 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.003897, allocations: 47.78 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.003933, allocations: 4 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.003981, allocations: 27.91 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.445e-05/0.004005, allocations: 11.98 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.00402, allocations: 4 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.004369, allocations: 211.5 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.004383, allocations: 15.97 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.004406, allocations: 15.94 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.00462, allocations: 179.6 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004623, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004624, allocations: 0 / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.004632, allocations: 7.938 kB / 1.003 GB, free: 10.72 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.0003175/0.004949, allocations: 309.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004987, allocations: 12.75 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.005013, allocations: 30.75 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.005036, allocations: 4.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/0.005114, allocations: 117.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.005123, allocations: 8.375 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.005132, allocations: 384 / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.005237, allocations: 63.97 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.005244, allocations: 192 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.005252, allocations: 4.125 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.005263, allocations: 3.938 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.103e-05/0.005324, allocations: 47.94 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.005458, allocations: 141.6 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.035e-05/0.005538, allocations: 76.97 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.005571, allocations: 25.78 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004519/0.006023, allocations: 248 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.006043, allocations: 38.55 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.011e-06/0.006044, allocations: 0 / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001723/0.006216, allocations: 89.78 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.006254, allocations: 81.11 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.006306, allocations: 102 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.006316, allocations: 29.7 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.006336, allocations: 84.09 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.006366, allocations: 27.75 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.006391, allocations: 29.64 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.006464, allocations: 314.8 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.006485, allocations: 11.98 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.006513, allocations: 33.64 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/0.006567, allocations: 45.78 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006569, allocations: 192 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.319e-05/0.006652, allocations: 81.61 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006665, allocations: 7.938 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.006671, allocations: 4 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006684, allocations: 3.938 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.006742, allocations: 15.98 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.006747, allocations: 0 / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.006762, allocations: 11.89 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006768, allocations: 4 kB / 1.005 GB, free: 8.426 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 6.076e-05/0.006829, allocations: 117.8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.006836, allocations: 4 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.006974, allocations: 97.77 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.006977, allocations: 3.938 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.006982, allocations: 7.938 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006985, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.159e-05/0.007067, allocations: 136.7 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007069, allocations: 4 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.007097, allocations: 15.98 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.007098, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.007104, allocations: 0 / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.007107, allocations: 7.938 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007107, allocations: 7.969 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.753e-05/0.007205, allocations: 106.1 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.007232, allocations: 23.86 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.007241, allocations: 0 / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.007252, allocations: 3.938 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.00727, allocations: 11.98 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.007274, allocations: 4 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.292e-05/0.007297, allocations: 75.28 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007297, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001967/0.007493, allocations: 79.73 kB / 1.005 GB, free: 7.648 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.0004516/0.007945, allocations: 0.765 MB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.008044, allocations: 43.92 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008046, allocations: 0 / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.008069, allocations: 27.92 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.00829, allocations: 8 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.00866, allocations: 231.2 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.008697, allocations: 63.34 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.008727, allocations: 16.06 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.008756, allocations: 12.5 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of SimCode: time 3.6e-07/0.008756, allocations: 3.938 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.02485, allocations: 3.741 MB / 1.01 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.331/6.356, allocations: 3.656 kB / 1.01 GB, free: 2.789 MB / 0.9636 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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: 10.303696032613516]