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.007366/0.007366, allocations: 103.1 kB / 15.73 MB, free: 6.035 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.001773/0.001773, allocations: 200.4 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.46/2.46, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7367/0.7381, allocations: 157.4 MB / 1.207 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00244/0.7405, allocations: 1.379 MB / 1.209 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.7442, allocations: 2.917 MB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.7443, allocations: 0 / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.964e-05/0.7444, allocations: 7.922 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.7445, allocations: 43.81 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.7451, allocations: 183.1 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.7454, allocations: 243.5 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.7455, allocations: 11.98 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.7456, allocations: 87.91 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.7457, allocations: 127.7 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.7458, allocations: 8 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.7462, allocations: 135.9 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.268e-05/0.7463, allocations: 87.81 kB / 1.212 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.7464, allocations: 91.58 kB / 1.212 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.7468, allocations: 277.5 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7468, allocations: 0 / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7468, allocations: 0 / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7468, allocations: 4 kB / 1.213 GB, free: 8.09 MB / 0.9356 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.0009005/0.7477, allocations: 0.53 MB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7478, allocations: 11.97 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.7478, allocations: 46.73 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.7479, allocations: 24.75 kB / 1.213 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.7482, allocations: 240 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.7483, allocations: 24.36 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.7483, allocations: 12.38 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.749, allocations: 289 kB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.749, allocations: 7.984 kB / 1.214 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.749, allocations: 12 kB / 1.214 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.749, allocations: 4 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.7505, allocations: 0.7467 MB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.7509, allocations: 305.1 kB / 1.215 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.7526, allocations: 0.6754 MB / 1.216 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.7531, allocations: 228.7 kB / 1.216 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.7535, allocations: 396.2 kB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.7536, allocations: 38.56 kB / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.7536, allocations: 0 / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001657/0.7552, allocations: 0.6534 MB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.7553, allocations: 55.41 kB / 1.217 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.7554, allocations: 126.1 kB / 1.217 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.7554, allocations: 29.7 kB / 1.217 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.7555, allocations: 96.8 kB / 1.217 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.7556, allocations: 130.1 kB / 1.217 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7557, allocations: 61.69 kB / 1.217 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7558, allocations: 326.8 kB / 1.218 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.7563, allocations: 199.7 kB / 1.218 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.7568, allocations: 199.7 kB / 1.218 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009138/0.7577, allocations: 365.9 kB / 1.218 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7577, allocations: 0 / 1.218 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001094/0.7588, allocations: 464.6 kB / 1.219 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7589, allocations: 4 kB / 1.219 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7589, allocations: 4 kB / 1.219 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7589, allocations: 0 / 1.219 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.7593, allocations: 99.86 kB / 1.219 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7593, allocations: 0 / 1.219 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.7595, allocations: 51.73 kB / 1.219 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.7595, allocations: 15.98 kB / 1.219 GB, free: 1.383 MB / 0.9356 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.0001139/0.7596, allocations: 137.8 kB / 1.219 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.7597, allocations: 27.73 kB / 1.219 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.7609, allocations: 0.5169 MB / 1.22 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7609, allocations: 7.938 kB / 1.22 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7609, allocations: 4 kB / 1.22 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7609, allocations: 0 / 1.22 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.7613, allocations: 305.3 kB / 1.22 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7613, allocations: 3.938 kB / 1.22 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.7616, allocations: 99.84 kB / 1.22 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7616, allocations: 0 / 1.22 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.7617, allocations: 19.97 kB / 1.22 GB, free: 220 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7617, allocations: 4 kB / 1.22 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7617, allocations: 0 / 1.22 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.7628, allocations: 492.1 kB / 1.221 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.406e-05/0.7629, allocations: 108.7 kB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.7629, allocations: 8 kB / 1.221 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.7631, allocations: 31.97 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.7633, allocations: 123.8 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.7634, allocations: 23.92 kB / 1.221 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.7635, allocations: 95.27 kB / 1.221 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7635, allocations: 0 / 1.221 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003725/0.7639, allocations: 115.9 kB / 1.221 GB, free: 15.2 MB / 0.9512 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.001688/0.7656, allocations: 1.127 MB / 1.222 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.7667, allocations: 467.3 kB / 1.223 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7667, allocations: 0 / 1.223 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.7673, allocations: 268.6 kB / 1.223 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.7677, allocations: 67.92 kB / 1.223 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.7718, allocations: 2.68 MB / 1.225 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.7722, allocations: 0.7328 MB / 1.226 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004004/0.7726, allocations: 188.3 kB / 1.226 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.7727, allocations: 63.59 kB / 1.226 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.7727, allocations: 0 / 1.226 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.7984, allocations: 7.549 MB / 1.234 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.844, allocations: 320 / 1.234 GB, free: 2.121 MB / 0.9512 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) "" Variables in the reference:time,d[1],d[2],d[3],d[4],d[5],d[6],d[7],cp[1],cp[2],cp[3],cp[4],cp[5],cp[6],cp[7],lambda[1],lambda[2],lambda[3],lambda[4],lambda[5],lambda[6],lambda[7],eta[1],eta[2],eta[3],eta[4],eta[5],eta[6],eta[7] Variables in the result:T,T_degC,T_max,T_min,Tf[1],Tf[2],Tf[3],Tf[4],Tf[5],Tf[6],Tf[7],X_a[1],X_a[2],X_a[3],X_a[4],X_a[5],X_a[6],X_a[7],cp[1],cp[2],cp[3],cp[4],cp[5],cp[6],cp[7],d[1],d[2],d[3],d[4],d[5],d[6],d[7],eta[1],eta[2],eta[3],eta[4],eta[5],eta[6],eta[7],lambda[1],lambda[2],lambda[3],lambda[4],lambda[5],lambda[6],lambda[7],nX_a,reference_T,time