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.00635/0.006351, allocations: 103.1 kB / 15.73 MB, free: 6.062 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.001167/0.001167, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.84 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.768/0.7694, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00326/0.7727, allocations: 1.383 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004547/0.7773, allocations: 2.909 MB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.7774, allocations: 7.938 kB / 1.211 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.7776, allocations: 3.984 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.7777, allocations: 47.81 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.7786, allocations: 183.1 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.7789, allocations: 239.5 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.779, allocations: 4 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.7791, allocations: 95.78 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.7793, allocations: 123.8 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.578e-05/0.7794, allocations: 12 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.7799, allocations: 143.7 kB / 1.212 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.78, allocations: 87.81 kB / 1.212 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.7801, allocations: 91.58 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.7806, allocations: 273.5 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7806, allocations: 0 / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7806, allocations: 0 / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.7806, allocations: 0 / 1.213 GB, free: 7.949 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.0009854/0.7816, allocations: 0.5377 MB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.7817, allocations: 8.031 kB / 1.213 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.7818, allocations: 50.73 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.7819, allocations: 16.75 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.7822, allocations: 236 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.7823, allocations: 32.36 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.7823, allocations: 20.12 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/0.783, allocations: 289.1 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7831, allocations: 0 / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.7831, allocations: 4 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.7831, allocations: 4 kB / 1.214 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.7846, allocations: 0.7505 MB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.7851, allocations: 313.1 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7867, allocations: 0.6676 MB / 1.216 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.7872, allocations: 240.6 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/0.7876, allocations: 388.3 kB / 1.216 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.7877, allocations: 34.56 kB / 1.216 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.774e-06/0.7877, allocations: 0 / 1.216 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001554/0.7892, allocations: 0.6534 MB / 1.217 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.7893, allocations: 55.41 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.7894, allocations: 130.1 kB / 1.217 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.7894, allocations: 29.7 kB / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.7895, allocations: 92.78 kB / 1.217 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.7896, allocations: 126.1 kB / 1.217 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.7898, allocations: 73.67 kB / 1.217 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7899, allocations: 326.8 kB / 1.218 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.7904, allocations: 191.8 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.7908, allocations: 195.8 kB / 1.218 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.7916, allocations: 365.9 kB / 1.218 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7916, allocations: 0 / 1.218 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001006/0.7927, allocations: 472.4 kB / 1.219 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7927, allocations: 8 kB / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.7927, allocations: 0 / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7927, allocations: 0 / 1.219 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.7931, allocations: 99.84 kB / 1.219 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7931, allocations: 4 kB / 1.219 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.7933, allocations: 51.73 kB / 1.219 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.7933, allocations: 8 kB / 1.219 GB, free: 1.242 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.000134/0.7935, allocations: 145.8 kB / 1.219 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.7935, allocations: 19.75 kB / 1.219 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.7947, allocations: 0.521 MB / 1.22 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7947, allocations: 4 kB / 1.22 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7947, allocations: 4 kB / 1.22 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.7947, allocations: 3.984 kB / 1.22 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.795, allocations: 321.2 kB / 1.22 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7951, allocations: 0 / 1.22 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.7954, allocations: 91.86 kB / 1.22 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.7954, allocations: 4 kB / 1.22 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.7954, allocations: 15.98 kB / 1.22 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7954, allocations: 0 / 1.22 GB, free: 68 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7954, allocations: 4 kB / 1.22 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7965, allocations: 0.4921 MB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.7965, allocations: 100.8 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.7966, allocations: 4 kB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.7967, allocations: 35.95 kB / 1.221 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.797, allocations: 115.8 kB / 1.221 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.797, allocations: 15.98 kB / 1.221 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.7971, allocations: 103.3 kB / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7971, allocations: 0 / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000384/0.7975, allocations: 119.9 kB / 1.221 GB, free: 15.05 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.001517/0.799, allocations: 1.123 MB / 1.222 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.8, allocations: 475.3 kB / 1.223 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8001, allocations: 0 / 1.223 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.8006, allocations: 256.6 kB / 1.223 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.801, allocations: 79.92 kB / 1.223 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.8053, allocations: 2.676 MB / 1.225 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.8056, allocations: 0.7366 MB / 1.226 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003968/0.8061, allocations: 177.7 kB / 1.226 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.8062, allocations: 63.39 kB / 1.226 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of SimCode: time 8.71e-07/0.8062, allocations: 3.938 kB / 1.226 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.833, allocations: 7.543 MB / 1.234 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.891, allocations: 8.375 kB / 1.234 GB, free: 1.973 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