Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.00136/0.00136, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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.464/2.464, allocations: 476.7 MB / 0.7628 GB, free: 15.2 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.EthyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.91 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.764, allocations: 168.7 MB / 1.271 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002032/0.766, allocations: 1.412 MB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.7686, allocations: 2.953 MB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.7687, allocations: 0.8438 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.208e-05/0.7687, allocations: 8.844 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.538e-05/0.7688, allocations: 44.45 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.7693, allocations: 191.8 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.7695, allocations: 233.6 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.7696, allocations: 5.078 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.7696, allocations: 99.95 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.7698, allocations: 120.7 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.7698, allocations: 11.25 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.7702, allocations: 141.2 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.7702, allocations: 91.25 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.7703, allocations: 96.62 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.7707, allocations: 272.3 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7707, allocations: 4.844 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7707, allocations: 0 / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7707, allocations: 0.875 kB / 1.277 GB, free: 4.02 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.0006907/0.7714, allocations: 0.534 MB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.7714, allocations: 14.09 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.7715, allocations: 47.86 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.7715, allocations: 20.67 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.7717, allocations: 238 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.7718, allocations: 24.75 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.7718, allocations: 13.41 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.7724, allocations: 293.7 kB / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.7724, allocations: 0 / 1.278 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.7724, allocations: 5.906 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.7724, allocations: 3.531 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.7738, allocations: 0.7459 MB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.7741, allocations: 317.4 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.7757, allocations: 0.6396 MB / 1.28 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/0.7762, allocations: 212.6 kB / 1.28 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.7765, allocations: 396.1 kB / 1.28 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.7765, allocations: 38.31 kB / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.363e-06/0.7765, allocations: 0 / 1.28 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.00152/0.778, allocations: 0.6539 MB / 1.281 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.778, allocations: 57.19 kB / 1.281 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.7781, allocations: 129.7 kB / 1.281 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.7781, allocations: 31.23 kB / 1.281 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.152e-05/0.7781, allocations: 94.17 kB / 1.281 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.7782, allocations: 136.4 kB / 1.281 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.7783, allocations: 65.05 kB / 1.281 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.7783, allocations: 328 kB / 1.282 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.7788, allocations: 198.7 kB / 1.282 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.7792, allocations: 194.1 kB / 1.282 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008067/0.78, allocations: 366.4 kB / 1.282 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.78, allocations: 0 / 1.282 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000961/0.781, allocations: 474.7 kB / 1.283 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.781, allocations: 7.438 kB / 1.283 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.781, allocations: 4 kB / 1.283 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.781, allocations: 0.6094 kB / 1.283 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.7814, allocations: 95.48 kB / 1.283 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.7814, allocations: 0.6094 kB / 1.283 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.7815, allocations: 44.69 kB / 1.283 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.7816, allocations: 19.08 kB / 1.283 GB, free: 1.078 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 8.641e-05/0.7817, allocations: 144.2 kB / 1.283 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.7817, allocations: 20.55 kB / 1.283 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.7828, allocations: 0.516 MB / 1.284 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.7828, allocations: 4.719 kB / 1.284 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7828, allocations: 0 / 1.284 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7828, allocations: 1.969 kB / 1.284 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.783, allocations: 314.5 kB / 1.284 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.783, allocations: 3.938 kB / 1.284 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.7834, allocations: 98.94 kB / 1.284 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7834, allocations: 1.531 kB / 1.284 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.7834, allocations: 13.56 kB / 1.284 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7834, allocations: 0 / 1.284 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7834, allocations: 0 / 1.284 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.7844, allocations: 0.4931 MB / 1.285 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.7844, allocations: 107.3 kB / 1.285 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.7844, allocations: 6.312 kB / 1.285 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.7846, allocations: 38.3 kB / 1.285 GB, free: 256 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.7848, allocations: 116.1 kB / 1.285 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.7848, allocations: 16.55 kB / 1.285 GB, free: 244 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.7849, allocations: 97 kB / 1.285 GB, free: 164 kB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7849, allocations: 0 / 1.285 GB, free: 164 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003576/0.7852, allocations: 115.4 kB / 1.285 GB, free: 140 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.001476/0.7867, allocations: 1.125 MB / 1.286 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009978/0.7877, allocations: 453.9 kB / 1.287 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7877, allocations: 0 / 1.287 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.7882, allocations: 253 kB / 1.287 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.7886, allocations: 77.38 kB / 1.287 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.7925, allocations: 2.682 MB / 1.29 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.7929, allocations: 0.729 MB / 1.29 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003696/0.7932, allocations: 186.7 kB / 1.29 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.7934, allocations: 61.12 kB / 1.291 GB, free: 13.04 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.7934, allocations: 0 / 1.291 GB, free: 13.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.8248, allocations: 7.503 MB / 1.298 GB, free: 12.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/8.067, allocations: 10.25 kB / 1.298 GB, free: 12.24 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 13.346052430000782]