Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.006086/0.006086, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001145/0.001145, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.308/1.308, 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.565/2.565, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 55.91 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8141/0.8154, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002387/0.8178, allocations: 1.384 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.8214, allocations: 2.909 MB / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.8215, allocations: 0 / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.168e-05/0.8216, allocations: 11.86 kB / 1.211 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.8217, allocations: 43.81 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.8224, allocations: 187.1 kB / 1.212 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.8226, allocations: 239.5 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.8227, allocations: 8 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.8228, allocations: 87.86 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.823, allocations: 131.6 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.823, allocations: 8 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.8234, allocations: 143.8 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.97e-05/0.8235, allocations: 75.84 kB / 1.212 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.8236, allocations: 95.56 kB / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.824, allocations: 273.6 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.824, allocations: 0 / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.826e-06/0.824, allocations: 3.984 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8241, allocations: 4 kB / 1.213 GB, free: 7.969 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.0008858/0.825, allocations: 0.5222 MB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.825, allocations: 12.03 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.878e-05/0.8251, allocations: 50.73 kB / 1.213 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.8252, allocations: 24.75 kB / 1.213 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.8255, allocations: 240 kB / 1.214 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.8256, allocations: 24.36 kB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.8256, allocations: 20.31 kB / 1.214 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.8263, allocations: 289.1 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.8263, allocations: 0 / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.8263, allocations: 12 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.8263, allocations: 4 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.8278, allocations: 0.7467 MB / 1.215 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.8282, allocations: 305.1 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.8297, allocations: 0.6754 MB / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.8302, allocations: 232.6 kB / 1.216 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/0.8307, allocations: 396.3 kB / 1.216 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.8307, allocations: 38.56 kB / 1.216 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/0.8308, allocations: 0 / 1.216 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001556/0.8323, allocations: 0.6495 MB / 1.217 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.8324, allocations: 55.41 kB / 1.217 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.8325, allocations: 129.2 kB / 1.217 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.8325, allocations: 29.7 kB / 1.217 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.8326, allocations: 96.8 kB / 1.217 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.8327, allocations: 122.1 kB / 1.217 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8328, allocations: 69.67 kB / 1.217 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8329, allocations: 326.8 kB / 1.218 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.8333, allocations: 203.7 kB / 1.218 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.8338, allocations: 191.8 kB / 1.218 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.8346, allocations: 369.8 kB / 1.218 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8346, allocations: 0 / 1.218 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009937/0.8356, allocations: 468.6 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8356, allocations: 4 kB / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8357, allocations: 0 / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.8357, allocations: 4 kB / 1.219 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.836, allocations: 99.84 kB / 1.219 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8361, allocations: 0 / 1.219 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.8362, allocations: 51.73 kB / 1.219 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.8363, allocations: 12 kB / 1.219 GB, free: 1.266 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.0001271/0.8364, allocations: 145.8 kB / 1.219 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.8365, allocations: 19.75 kB / 1.219 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.8376, allocations: 0.5179 MB / 1.22 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.8376, allocations: 4 kB / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8376, allocations: 0 / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8376, allocations: 7.984 kB / 1.22 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.838, allocations: 313.3 kB / 1.22 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.838, allocations: 3.938 kB / 1.22 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.8383, allocations: 91.86 kB / 1.22 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.8383, allocations: 0 / 1.22 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.8383, allocations: 15.98 kB / 1.22 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.75e-05/0.8384, allocations: 7.984 kB / 1.22 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8384, allocations: 0 / 1.22 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.8394, allocations: 496.1 kB / 1.221 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.8395, allocations: 108.7 kB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.8395, allocations: 4 kB / 1.221 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.8397, allocations: 35.95 kB / 1.221 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.84, allocations: 123.7 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.84, allocations: 19.98 kB / 1.221 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.8401, allocations: 95.27 kB / 1.221 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8401, allocations: 0 / 1.221 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003864/0.8405, allocations: 119.9 kB / 1.221 GB, free: 15.07 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.001535/0.842, allocations: 1.127 MB / 1.222 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.843, allocations: 467.3 kB / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.843, allocations: 0 / 1.223 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.8436, allocations: 264.6 kB / 1.223 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.8439, allocations: 81.92 kB / 1.223 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.8479, allocations: 2.676 MB / 1.225 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.8483, allocations: 0.7289 MB / 1.226 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003878/0.8487, allocations: 184.9 kB / 1.226 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.8488, allocations: 63.41 kB / 1.226 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.8488, allocations: 0 / 1.226 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.8746, allocations: 7.428 MB / 1.234 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/9.156, allocations: 7.266 kB / 1.234 GB, free: 2.109 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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