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.001547/0.001547, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001645/0.001645, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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.445/1.445, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.837/2.837, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 75.88 kB / 1.15 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.846, allocations: 176.1 MB / 1.322 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006455/0.8525, allocations: 4.506 MB / 1.326 GB, free: 4.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.8556, allocations: 2.711 MB / 1.329 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.8557, allocations: 1.438 kB / 1.329 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.8559, allocations: 55.34 kB / 1.329 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.8562, allocations: 100.5 kB / 1.329 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.8574, allocations: 0.5027 MB / 1.33 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.8577, allocations: 229.7 kB / 1.33 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.8578, allocations: 18.02 kB / 1.33 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009423/0.8587, allocations: 425.8 kB / 1.33 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.8589, allocations: 89.41 kB / 1.33 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.8589, allocations: 7.75 kB / 1.33 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009815/0.8599, allocations: 0.498 MB / 1.331 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.8599, allocations: 46.08 kB / 1.331 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.86, allocations: 79.75 kB / 1.331 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.8606, allocations: 357.5 kB / 1.331 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8606, allocations: 1.031 kB / 1.331 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8606, allocations: 3.938 kB / 1.331 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8606, allocations: 0 / 1.331 GB, free: 0.5625 MB / 1.014 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.0008119/0.8614, allocations: 0.5023 MB / 1.332 GB, free: 84 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8615, allocations: 13.61 kB / 1.332 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.8616, allocations: 22.06 kB / 1.332 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.8619, allocations: 220.8 kB / 1.332 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.8619, allocations: 11.52 kB / 1.332 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.862, allocations: 21.44 kB / 1.332 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.8624, allocations: 249.7 kB / 1.332 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8624, allocations: 3.938 kB / 1.332 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.8624, allocations: 11 kB / 1.332 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.8624, allocations: 17.84 kB / 1.332 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.8629, allocations: 425 kB / 1.333 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.864, allocations: 1.008 MB / 1.334 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.8643, allocations: 144.2 kB / 1.334 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.8644, allocations: 61.69 kB / 1.334 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.866, allocations: 1.826 MB / 1.336 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.8661, allocations: 36.78 kB / 1.336 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.8661, allocations: 0.7812 kB / 1.336 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003523/0.8664, allocations: 139.5 kB / 1.336 GB, free: 12.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.8665, allocations: 56.69 kB / 1.336 GB, free: 12.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.8667, allocations: 175.8 kB / 1.336 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.8667, allocations: 30.8 kB / 1.336 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.8668, allocations: 143.4 kB / 1.336 GB, free: 11.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.8668, allocations: 58.8 kB / 1.336 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.8669, allocations: 52.78 kB / 1.336 GB, free: 11.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8671, allocations: 330.6 kB / 1.337 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.8672, allocations: 33.61 kB / 1.337 GB, free: 11.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.8673, allocations: 138.8 kB / 1.337 GB, free: 11.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.8676, allocations: 197.6 kB / 1.337 GB, free: 10.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8676, allocations: 1.375 kB / 1.337 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003603/0.8679, allocations: 223.3 kB / 1.337 GB, free: 10.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.868, allocations: 7.25 kB / 1.337 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.868, allocations: 3.125 kB / 1.337 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.868, allocations: 5.312 kB / 1.337 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.8682, allocations: 56.64 kB / 1.337 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.8682, allocations: 9.438 kB / 1.337 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8683, allocations: 27.78 kB / 1.337 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.8683, allocations: 15.39 kB / 1.337 GB, free: 10.79 MB / 1.029 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.0001279/0.8684, allocations: 134.5 kB / 1.338 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.8685, allocations: 16.66 kB / 1.338 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.8688, allocations: 155.2 kB / 1.338 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.8688, allocations: 6.125 kB / 1.338 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8689, allocations: 0 / 1.338 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.8689, allocations: 5.078 kB / 1.338 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.8691, allocations: 217.6 kB / 1.338 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8691, allocations: 0 / 1.338 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.8692, allocations: 27.45 kB / 1.338 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8692, allocations: 5.094 kB / 1.338 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.8693, allocations: 5.062 kB / 1.338 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8693, allocations: 5.062 kB / 1.338 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8693, allocations: 5.031 kB / 1.338 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.8695, allocations: 220.1 kB / 1.338 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.8697, allocations: 105.8 kB / 1.338 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.8697, allocations: 1.344 kB / 1.338 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.8699, allocations: 23.83 kB / 1.338 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.8699, allocations: 9.016 kB / 1.338 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.87, allocations: 9.094 kB / 1.338 GB, free: 9.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001027/0.8701, allocations: 132.5 kB / 1.338 GB, free: 9.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.8701, allocations: 0 / 1.338 GB, free: 9.859 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000416/0.8705, allocations: 74.72 kB / 1.339 GB, free: 9.844 MB / 1.029 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.0003385/0.8708, allocations: 186.4 kB / 1.339 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.8711, allocations: 112.2 kB / 1.339 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8711, allocations: 0 / 1.339 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.8711, allocations: 40.86 kB / 1.339 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.8716, allocations: 60.8 kB / 1.339 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.8723, allocations: 371.4 kB / 1.339 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.8727, allocations: 0.7128 MB / 1.34 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.8728, allocations: 27.16 kB / 1.34 GB, free: 8.637 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.8728, allocations: 1.344 kB / 1.34 GB, free: 8.637 MB / 1.029 GB Notification: Performance of Templates: time 0.0057/0.8785, allocations: 3.196 MB / 1.343 GB, free: 6.969 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/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: 11.217385884010582]