Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001493/0.001493, allocations: 112.1 kB / 17.08 MB, free: 5.82 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.001512/0.001512, allocations: 192.7 kB / 20.03 MB, free: 2.949 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.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 489.3 MB / 0.7687 GB, free: 3.836 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.88 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.945/0.9469, allocations: 163.8 MB / 1.263 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005794/0.9528, allocations: 4.432 MB / 1.267 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.9554, allocations: 2.693 MB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.9555, allocations: 4.719 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.9558, allocations: 41.88 kB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.9561, allocations: 97.69 kB / 1.27 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.9574, allocations: 497.8 kB / 1.27 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.9577, allocations: 239.8 kB / 1.27 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.9578, allocations: 9.219 kB / 1.27 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.9588, allocations: 416.8 kB / 1.271 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.959, allocations: 87.59 kB / 1.271 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.959, allocations: 6.875 kB / 1.271 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.9601, allocations: 0.4916 MB / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.9602, allocations: 39 kB / 1.271 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.9603, allocations: 80.31 kB / 1.271 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.9609, allocations: 346 kB / 1.272 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9609, allocations: 3.938 kB / 1.272 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9609, allocations: 0 / 1.272 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.961, allocations: 5 kB / 1.272 GB, free: 1.945 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007489/0.9617, allocations: 0.5012 MB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9618, allocations: 13.69 kB / 1.272 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.9619, allocations: 21.59 kB / 1.272 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.9622, allocations: 207.5 kB / 1.273 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.9622, allocations: 11.17 kB / 1.273 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.9622, allocations: 14.44 kB / 1.273 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.9626, allocations: 262.1 kB / 1.273 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.9626, allocations: 0 / 1.273 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.9627, allocations: 11.67 kB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.9627, allocations: 5.625 kB / 1.273 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.9633, allocations: 434.1 kB / 1.273 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008309/0.9641, allocations: 1.005 MB / 1.274 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.9644, allocations: 166.8 kB / 1.274 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.9645, allocations: 62.11 kB / 1.274 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.9661, allocations: 1.829 MB / 1.276 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.9661, allocations: 37.81 kB / 1.276 GB, free: 13.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.9661, allocations: 3.938 kB / 1.276 GB, free: 13.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003658/0.9665, allocations: 143.1 kB / 1.276 GB, free: 13.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.9665, allocations: 57.38 kB / 1.276 GB, free: 13.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.9667, allocations: 176.2 kB / 1.277 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.9668, allocations: 27.77 kB / 1.277 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9669, allocations: 146.7 kB / 1.277 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.9669, allocations: 49.97 kB / 1.277 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.967, allocations: 56.92 kB / 1.277 GB, free: 13.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.9672, allocations: 322.9 kB / 1.277 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.9672, allocations: 37.06 kB / 1.277 GB, free: 13.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.9674, allocations: 140.4 kB / 1.277 GB, free: 12.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.9677, allocations: 206 kB / 1.278 GB, free: 12.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9677, allocations: 0.6875 kB / 1.278 GB, free: 12.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003286/0.968, allocations: 208.9 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.968, allocations: 8.203 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9681, allocations: 4.375 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9681, allocations: 5.656 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.9683, allocations: 60.91 kB / 1.278 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9683, allocations: 11.8 kB / 1.278 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.9684, allocations: 35.83 kB / 1.278 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.9684, allocations: 11.34 kB / 1.278 GB, free: 12.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.00012/0.9686, allocations: 131 kB / 1.278 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.9686, allocations: 16.84 kB / 1.278 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.9689, allocations: 157.7 kB / 1.278 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.969, allocations: 9.969 kB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.969, allocations: 3.031 kB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.969, allocations: 0 / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.9693, allocations: 215.7 kB / 1.278 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9693, allocations: 4 kB / 1.278 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.9694, allocations: 21.61 kB / 1.278 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9694, allocations: 2.766 kB / 1.278 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.9694, allocations: 6.469 kB / 1.278 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9694, allocations: 3.938 kB / 1.278 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9694, allocations: 1.25 kB / 1.278 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.9697, allocations: 217.4 kB / 1.279 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.9698, allocations: 105.7 kB / 1.279 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.9698, allocations: 12.62 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.97, allocations: 19.5 kB / 1.279 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.9701, allocations: 14.48 kB / 1.279 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.9701, allocations: 15.23 kB / 1.279 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.616e-05/0.9702, allocations: 121.3 kB / 1.279 GB, free: 11.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9702, allocations: 0 / 1.279 GB, free: 11.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004076/0.9706, allocations: 79.33 kB / 1.279 GB, free: 11.74 MB / 1.014 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003279/0.971, allocations: 182.8 kB / 1.279 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.9712, allocations: 114.3 kB / 1.279 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9712, allocations: 1.25 kB / 1.279 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.9713, allocations: 46.36 kB / 1.279 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.9717, allocations: 65 kB / 1.279 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.9724, allocations: 367 kB / 1.28 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.9728, allocations: 0.715 MB / 1.28 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.9729, allocations: 29.97 kB / 1.28 GB, free: 10.59 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/0.9729, allocations: 0 / 1.28 GB, free: 10.59 MB / 1.014 GB Notification: Performance of Templates: time 0.005955/0.9788, allocations: 3.157 MB / 1.284 GB, free: 10.2 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.243051697034389]