Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 59.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8412/0.844, allocations: 168.7 MB / 1.271 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002255/0.8463, allocations: 1.405 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.8493, allocations: 2.956 MB / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.8494, allocations: 0 / 1.276 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.459e-05/0.8494, allocations: 8.078 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.8495, allocations: 48.88 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.85, allocations: 182.4 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.8503, allocations: 239.7 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.8503, allocations: 9.422 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.8504, allocations: 92.67 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.8506, allocations: 130.9 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.8506, allocations: 11.28 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.8509, allocations: 138.4 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.851, allocations: 88.05 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.747e-05/0.8511, allocations: 91.97 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.8515, allocations: 273.9 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8515, allocations: 0.6875 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8515, allocations: 0 / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.8515, allocations: 4.719 kB / 1.277 GB, free: 4.102 MB / 0.9981 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.0007564/0.8522, allocations: 0.5351 MB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.8523, allocations: 9.188 kB / 1.278 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.8523, allocations: 52.36 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.8524, allocations: 23.2 kB / 1.278 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.8526, allocations: 236.7 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.8527, allocations: 27.3 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.8527, allocations: 13.81 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.8533, allocations: 292.4 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8533, allocations: 0 / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.8534, allocations: 14.44 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.8534, allocations: 3.312 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.8549, allocations: 0.7471 MB / 1.279 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.8553, allocations: 308.7 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.857, allocations: 0.6478 MB / 1.28 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.8575, allocations: 210 kB / 1.28 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.8578, allocations: 391.8 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.8578, allocations: 35.81 kB / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.403e-06/0.8579, allocations: 0 / 1.28 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001644/0.8595, allocations: 0.6505 MB / 1.281 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.8595, allocations: 59.8 kB / 1.281 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.8596, allocations: 134 kB / 1.281 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.8596, allocations: 29.7 kB / 1.281 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.8596, allocations: 97.34 kB / 1.281 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.8597, allocations: 130.3 kB / 1.282 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.8598, allocations: 71.86 kB / 1.282 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.8599, allocations: 328.6 kB / 1.282 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.8603, allocations: 194.8 kB / 1.282 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.8608, allocations: 196.6 kB / 1.282 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/0.8617, allocations: 362.4 kB / 1.283 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8617, allocations: 0 / 1.283 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001075/0.8628, allocations: 476.3 kB / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.8628, allocations: 4.625 kB / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8628, allocations: 0 / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8628, allocations: 2.266 kB / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.8632, allocations: 99.25 kB / 1.283 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8632, allocations: 0.6562 kB / 1.283 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.8634, allocations: 48.14 kB / 1.283 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.8634, allocations: 13.88 kB / 1.283 GB, free: 1.16 MB / 0.9981 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 9.296e-05/0.8635, allocations: 140.4 kB / 1.283 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.8636, allocations: 26.83 kB / 1.283 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.8648, allocations: 0.516 MB / 1.284 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.8648, allocations: 6.125 kB / 1.284 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8648, allocations: 0 / 1.284 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8648, allocations: 2.109 kB / 1.284 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.8651, allocations: 308.9 kB / 1.284 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8651, allocations: 4.641 kB / 1.284 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.8654, allocations: 92.3 kB / 1.284 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8654, allocations: 2.656 kB / 1.284 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.8655, allocations: 19.08 kB / 1.284 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8655, allocations: 1.219 kB / 1.284 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8655, allocations: 1.281 kB / 1.284 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.8666, allocations: 496.4 kB / 1.285 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.8666, allocations: 107.3 kB / 1.285 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.8666, allocations: 11.36 kB / 1.285 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.8668, allocations: 37.86 kB / 1.285 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.8671, allocations: 121.1 kB / 1.285 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.8671, allocations: 16.61 kB / 1.285 GB, free: 324 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.8671, allocations: 95.83 kB / 1.285 GB, free: 244 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8671, allocations: 3.938 kB / 1.285 GB, free: 240 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003973/0.8675, allocations: 115 kB / 1.285 GB, free: 216 kB / 0.9981 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.001634/0.8692, allocations: 1.126 MB / 1.286 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.8703, allocations: 453.7 kB / 1.287 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8703, allocations: 0.875 kB / 1.287 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.8709, allocations: 244.2 kB / 1.287 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.8713, allocations: 78.19 kB / 1.287 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.8756, allocations: 2.689 MB / 1.29 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.876, allocations: 0.7321 MB / 1.29 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000418/0.8764, allocations: 186.9 kB / 1.291 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.8765, allocations: 66.69 kB / 1.291 GB, free: 13.11 MB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.8765, allocations: 3.938 kB / 1.291 GB, free: 13.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.9083, allocations: 7.487 MB / 1.298 GB, free: 12.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.962, allocations: 13.67 kB / 1.298 GB, free: 12.31 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 14.819784454011824]