Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.0009168/0.0009168, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009297/0.0009297, allocations: 173.4 kB / 23.36 MB, free: 1.133 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 0.954/0.954, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.449/2.449, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.19e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01114/0.01115, allocations: 13.02 MB / 0.8513 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.01307, allocations: 2.811 MB / 0.8541 GB, free: 14.29 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.01314, allocations: 0 / 0.8541 GB, free: 14.29 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.01335, allocations: 43.64 kB / 0.8541 GB, free: 14.24 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.01355, allocations: 111.3 kB / 0.8542 GB, free: 14.13 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008906/0.01444, allocations: 0.537 MB / 0.8548 GB, free: 13.59 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.01465, allocations: 243.8 kB / 0.855 GB, free: 13.35 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.01469, allocations: 10.47 kB / 0.855 GB, free: 13.34 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005225/0.01991, allocations: 3.645 MB / 0.8586 GB, free: 9.66 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.02004, allocations: 75.77 kB / 0.8586 GB, free: 9.586 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.02006, allocations: 8 kB / 0.8586 GB, free: 9.578 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.0216, allocations: 1.043 MB / 0.8597 GB, free: 8.531 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.02166, allocations: 43.89 kB / 0.8597 GB, free: 8.488 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.02172, allocations: 63.83 kB / 0.8598 GB, free: 8.426 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.02217, allocations: 366.8 kB / 0.8601 GB, free: 8.066 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.02217, allocations: 3.984 kB / 0.8601 GB, free: 8.062 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.02218, allocations: 0 / 0.8601 GB, free: 8.062 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.02218, allocations: 0 / 0.8601 GB, free: 8.062 MB / 0.823 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.0004859/0.02266, allocations: 411.7 kB / 0.8605 GB, free: 7.637 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.02269, allocations: 8.625 kB / 0.8605 GB, free: 7.629 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.02281, allocations: 44.78 kB / 0.8606 GB, free: 7.586 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.02296, allocations: 157.6 kB / 0.8607 GB, free: 7.406 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.02297, allocations: 12.7 kB / 0.8607 GB, free: 7.395 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.023, allocations: 24.31 kB / 0.8607 GB, free: 7.371 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.02324, allocations: 406.8 kB / 0.8611 GB, free: 6.898 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.02324, allocations: 192 / 0.8611 GB, free: 6.898 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.02326, allocations: 12.12 kB / 0.8611 GB, free: 6.887 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.02329, allocations: 7.938 kB / 0.8612 GB, free: 6.879 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.02349, allocations: 247.8 kB / 0.8614 GB, free: 6.637 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.02409, allocations: 0.705 MB / 0.8621 GB, free: 5.898 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.02425, allocations: 164.2 kB / 0.8622 GB, free: 5.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.02429, allocations: 32.84 kB / 0.8623 GB, free: 5.695 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004212/0.02471, allocations: 478.1 kB / 0.8627 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.02474, allocations: 46.5 kB / 0.8628 GB, free: 5.16 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.02474, allocations: 0 / 0.8628 GB, free: 5.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0002293/0.02497, allocations: 137.4 kB / 0.8629 GB, free: 5.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.02499, allocations: 55.41 kB / 0.8629 GB, free: 4.953 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.02507, allocations: 166.5 kB / 0.8631 GB, free: 4.777 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.02509, allocations: 29.7 kB / 0.8631 GB, free: 4.742 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.02514, allocations: 148 kB / 0.8633 GB, free: 4.594 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.02516, allocations: 55.52 kB / 0.8633 GB, free: 4.539 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.02521, allocations: 49.64 kB / 0.8634 GB, free: 4.484 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.02527, allocations: 330.7 kB / 0.8637 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.0253, allocations: 22.81 kB / 0.8637 GB, free: 4.129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.02536, allocations: 129.6 kB / 0.8638 GB, free: 3.953 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.02548, allocations: 181.5 kB / 0.864 GB, free: 3.727 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02548, allocations: 4 kB / 0.864 GB, free: 3.723 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001393/0.02562, allocations: 160.1 kB / 0.8642 GB, free: 3.559 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.02563, allocations: 8 kB / 0.8642 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.02564, allocations: 8.453 kB / 0.8642 GB, free: 3.543 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.02565, allocations: 8 kB / 0.8642 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.02576, allocations: 51.92 kB / 0.8642 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.02576, allocations: 15.92 kB / 0.8643 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.02582, allocations: 23.83 kB / 0.8643 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.02583, allocations: 12 kB / 0.8643 GB, free: 3.434 MB / 0.823 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 7.068e-05/0.0259, allocations: 128.5 kB / 0.8644 GB, free: 3.297 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.02593, allocations: 15.98 kB / 0.8644 GB, free: 3.281 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.02607, allocations: 114.2 kB / 0.8645 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.02607, allocations: 0 / 0.8645 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.02607, allocations: 8 kB / 0.8645 GB, free: 3.156 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02608, allocations: 3.984 kB / 0.8645 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.02619, allocations: 101.8 kB / 0.8646 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.02619, allocations: 3.938 kB / 0.8646 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.02625, allocations: 31.92 kB / 0.8647 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.02625, allocations: 0 / 0.8647 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.02626, allocations: 4 kB / 0.8647 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.02626, allocations: 0 / 0.8647 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.02626, allocations: 4 kB / 0.8647 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.02637, allocations: 228.4 kB / 0.8649 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.02641, allocations: 31.8 kB / 0.8649 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.02642, allocations: 8 kB / 0.8649 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.0265, allocations: 11.98 kB / 0.865 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/0.02651, allocations: 11.98 kB / 0.865 GB, free: 2.691 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.02653, allocations: 7.984 kB / 0.865 GB, free: 2.684 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.02655, allocations: 39.61 kB / 0.865 GB, free: 2.645 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02655, allocations: 0 / 0.865 GB, free: 2.645 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002178/0.02677, allocations: 79.77 kB / 0.8651 GB, free: 2.566 MB / 0.823 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.0002193/0.02699, allocations: 176.1 kB / 0.8653 GB, free: 2.387 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.0271, allocations: 101.2 kB / 0.8654 GB, free: 2.285 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.02711, allocations: 4.25 kB / 0.8654 GB, free: 2.281 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.02714, allocations: 39.45 kB / 0.8654 GB, free: 2.242 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.02732, allocations: 51.83 kB / 0.8654 GB, free: 2.191 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.02793, allocations: 322.9 kB / 0.8658 GB, free: 1.848 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.02796, allocations: 80.23 kB / 0.8658 GB, free: 1.75 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.216e-05/0.02806, allocations: 45.22 kB / 0.8659 GB, free: 1.707 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.0282, allocations: 121.3 kB / 0.866 GB, free: 1.59 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.0282, allocations: 0 / 0.866 GB, free: 1.59 MB / 0.823 GB Notification: Performance of Templates: time 0.004979/0.03318, allocations: 3.78 MB / 0.8697 GB, free: 13.86 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.321968982927501]