Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.514/2.514, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.357/5.357, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 67.33 kB / 0.8987 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5574, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.004126/0.5616, allocations: 1.449 MB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005701/0.5674, allocations: 2.902 MB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.5675, allocations: 0 / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.5676, allocations: 0 / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.5678, allocations: 43.8 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.5687, allocations: 167.4 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.5691, allocations: 243.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.5692, allocations: 7.938 kB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.5694, allocations: 99.78 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.5696, allocations: 131.8 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.5697, allocations: 8 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006988/0.5704, allocations: 143.9 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.5706, allocations: 87.81 kB / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.5707, allocations: 95.58 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.5713, allocations: 271.5 kB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5713, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5713, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.5714, allocations: 0 / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001295/0.5727, allocations: 0.53 MB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.5727, allocations: 8.625 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.477e-05/0.5728, allocations: 54.73 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.573, allocations: 16.75 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.5734, allocations: 236 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.5735, allocations: 32.3 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.5736, allocations: 20.38 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.5747, allocations: 285.1 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5747, allocations: 0 / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.5747, allocations: 4 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5748, allocations: 8 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.5773, allocations: 0.7413 MB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.578, allocations: 317 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.5808, allocations: 0.676 MB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/0.5817, allocations: 238.2 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/0.5824, allocations: 384.3 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.5824, allocations: 38.56 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 5.36e-06/0.5825, allocations: 4 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.002856/0.5853, allocations: 0.6495 MB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.5854, allocations: 55.41 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.5856, allocations: 133 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.5856, allocations: 37.64 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.5857, allocations: 88.8 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.5859, allocations: 130.2 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.5861, allocations: 69.62 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5863, allocations: 322.8 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.5872, allocations: 195.8 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/0.588, allocations: 199.5 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.5896, allocations: 366.2 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.5897, allocations: 7.938 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001959/0.5916, allocations: 468.6 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.5917, allocations: 4 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.5917, allocations: 0 / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.5917, allocations: 0 / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/0.5924, allocations: 95.86 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.5924, allocations: 4 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.5928, allocations: 51.69 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.5928, allocations: 15.98 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0002432/0.5931, allocations: 137.8 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.5932, allocations: 19.75 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.5953, allocations: 0.5219 MB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.5953, allocations: 8 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5954, allocations: 0 / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.5954, allocations: 0 / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.596, allocations: 317.3 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.596, allocations: 3.938 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.5966, allocations: 95.84 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.5966, allocations: 4 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.5967, allocations: 11.98 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.5967, allocations: 4 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5967, allocations: 0 / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.5987, allocations: 0.4883 MB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.5988, allocations: 100.8 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.5989, allocations: 7.938 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.5992, allocations: 31.97 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.5996, allocations: 119.8 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.5997, allocations: 19.98 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000106/0.5998, allocations: 107.2 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5998, allocations: 0 / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006987/0.6005, allocations: 111.9 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.002893/0.6034, allocations: 1.115 MB / 1.067 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.6056, allocations: 0.5539 MB / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6056, allocations: 0 / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.6066, allocations: 259.7 kB / 1.068 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.6074, allocations: 81.75 kB / 1.068 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.6148, allocations: 2.719 MB / 1.071 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.6153, allocations: 0.7327 MB / 1.072 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008448/0.6162, allocations: 186.1 kB / 1.072 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.6164, allocations: 63.41 kB / 1.072 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.104e-06/0.6164, allocations: 0 / 1.072 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.093/1.71, allocations: 7.084 MB / 1.079 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004158/1.71, allocations: 220.4 kB / 1.079 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.267/5.977, allocations: 2.812 kB / 1.079 GB, free: 13.17 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches