Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.28e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007259/0.007292, allocations: 4.525 MB / 0.8152 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00429/0.01158, allocations: 2.809 MB / 0.818 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.01167, allocations: 0 / 0.818 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.01199, allocations: 48.28 kB / 0.818 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.01231, allocations: 104.4 kB / 0.8181 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.01361, allocations: 0.5214 MB / 0.8186 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.01392, allocations: 239.8 kB / 0.8189 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.01396, allocations: 9.812 kB / 0.8189 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.01526, allocations: 0.5164 MB / 0.8194 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.01542, allocations: 75.77 kB / 0.8195 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.01545, allocations: 8 kB / 0.8195 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.01657, allocations: 493.2 kB / 0.8199 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.01666, allocations: 39.88 kB / 0.82 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.01676, allocations: 63.84 kB / 0.82 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0007001/0.01746, allocations: 370.8 kB / 0.8204 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01746, allocations: 0 / 0.8204 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.293e-06/0.01746, allocations: 0 / 0.8204 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.01747, allocations: 5.375 kB / 0.8204 GB, free: 7.176 MB / 0.7292 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.0009728/0.01844, allocations: 0.5268 MB / 0.8209 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.01849, allocations: 12.03 kB / 0.8209 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.0187, allocations: 45.36 kB / 0.821 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.01895, allocations: 160.3 kB / 0.8211 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.01897, allocations: 12.7 kB / 0.8211 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.019, allocations: 16.38 kB / 0.8211 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.01955, allocations: 428.1 kB / 0.8215 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01956, allocations: 4.188 kB / 0.8216 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.01959, allocations: 12.06 kB / 0.8216 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.01962, allocations: 11.98 kB / 0.8216 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.02014, allocations: 335.5 kB / 0.8219 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.02174, allocations: 1.092 MB / 0.823 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.02211, allocations: 163.9 kB / 0.8231 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.02223, allocations: 59.7 kB / 0.8232 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/0.02309, allocations: 0.5309 MB / 0.8237 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.02314, allocations: 33.39 kB / 0.8237 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.02314, allocations: 0 / 0.8237 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0004121/0.02355, allocations: 149.4 kB / 0.8239 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.02361, allocations: 55.41 kB / 0.8239 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.02382, allocations: 225 kB / 0.8241 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.02385, allocations: 33.7 kB / 0.8242 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.02399, allocations: 190.8 kB / 0.8243 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.02405, allocations: 63.47 kB / 0.8244 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.02414, allocations: 55.36 kB / 0.8245 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002756/0.02442, allocations: 0.4961 MB / 0.8249 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.02449, allocations: 35.98 kB / 0.825 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.02471, allocations: 183 kB / 0.8252 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.02504, allocations: 245.1 kB / 0.8254 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.02504, allocations: 4 kB / 0.8254 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003945/0.02543, allocations: 225.1 kB / 0.8256 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.02545, allocations: 8 kB / 0.8256 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.02546, allocations: 4.469 kB / 0.8256 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.02548, allocations: 8 kB / 0.8256 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.02567, allocations: 55.91 kB / 0.8257 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.02568, allocations: 12 kB / 0.8257 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.02579, allocations: 23.84 kB / 0.8257 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.02581, allocations: 12 kB / 0.8257 GB, free: 1.262 MB / 0.7292 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.0001492/0.02596, allocations: 184.4 kB / 0.8259 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.02602, allocations: 11.95 kB / 0.8259 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.02636, allocations: 155.7 kB / 0.8261 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.02638, allocations: 7.984 kB / 0.8261 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.02638, allocations: 0 / 0.8261 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.02639, allocations: 4 kB / 0.8261 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.02664, allocations: 168.5 kB / 0.8262 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.02664, allocations: 0 / 0.8262 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.02676, allocations: 27.98 kB / 0.8263 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.02677, allocations: 0 / 0.8263 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.02678, allocations: 8 kB / 0.8263 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.02678, allocations: 0 / 0.8263 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02678, allocations: 0 / 0.8263 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.02714, allocations: 283.8 kB / 0.8265 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.02722, allocations: 35.8 kB / 0.8266 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.02724, allocations: 4 kB / 0.8266 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.02741, allocations: 12 kB / 0.8266 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.02744, allocations: 11.97 kB / 0.8266 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.02747, allocations: 12 kB / 0.8266 GB, free: 296 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001183/0.02759, allocations: 157.7 kB / 0.8268 GB, free: 140 kB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02759, allocations: 0 / 0.8268 GB, free: 140 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003875/0.02797, allocations: 75.88 kB / 0.8268 GB, free: 64 kB / 0.7292 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.0003645/0.02834, allocations: 187 kB / 0.827 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.02861, allocations: 128 kB / 0.8271 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02862, allocations: 0 / 0.8271 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.0287, allocations: 54.84 kB / 0.8272 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.0291, allocations: 52.83 kB / 0.8272 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.02979, allocations: 311.1 kB / 0.8275 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.02991, allocations: 102.9 kB / 0.8276 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.03006, allocations: 45.2 kB / 0.8277 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.03011, allocations: 24.5 kB / 0.8277 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.03011, allocations: 4 kB / 0.8277 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of Templates: time 0.008094/0.0382, allocations: 3.065 MB / 0.8307 GB, free: 12.11 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.238441633991897]