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.0009498/0.0009498, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009615/0.0009615, allocations: 181 kB / 23.36 MB, free: 1.129 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.9835/0.9835, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.565/2.565, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.954e-06/1.954e-06, allocations: 0 / 0.8387 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.48e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01356/0.01359, allocations: 13.06 MB / 0.8514 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.01669, allocations: 2.811 MB / 0.8542 GB, free: 14.23 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.264e-05/0.01678, allocations: 0 / 0.8542 GB, free: 14.23 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.01706, allocations: 51.61 kB / 0.8542 GB, free: 14.18 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.01732, allocations: 103.3 kB / 0.8543 GB, free: 14.08 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.01838, allocations: 0.5247 MB / 0.8548 GB, free: 13.55 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.0186, allocations: 243.8 kB / 0.8551 GB, free: 13.31 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.01865, allocations: 6.469 kB / 0.8551 GB, free: 13.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00551/0.02416, allocations: 3.422 MB / 0.8584 GB, free: 9.848 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.02431, allocations: 71.78 kB / 0.8585 GB, free: 9.777 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.02433, allocations: 8 kB / 0.8585 GB, free: 9.77 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.02608, allocations: 0.9922 MB / 0.8595 GB, free: 8.773 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.02615, allocations: 35.89 kB / 0.8595 GB, free: 8.738 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.0262, allocations: 67.83 kB / 0.8596 GB, free: 8.672 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.02669, allocations: 370.8 kB / 0.8599 GB, free: 8.309 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0267, allocations: 3.938 kB / 0.8599 GB, free: 8.305 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.92e-07/0.0267, allocations: 0 / 0.8599 GB, free: 8.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.0267, allocations: 4 kB / 0.8599 GB, free: 8.301 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.0005587/0.02726, allocations: 415.7 kB / 0.8603 GB, free: 7.871 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.0273, allocations: 16.61 kB / 0.8603 GB, free: 7.855 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.02741, allocations: 32.86 kB / 0.8604 GB, free: 7.824 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.02758, allocations: 157.5 kB / 0.8605 GB, free: 7.645 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.0276, allocations: 16.7 kB / 0.8605 GB, free: 7.629 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.02762, allocations: 28.34 kB / 0.8606 GB, free: 7.602 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.02788, allocations: 402.8 kB / 0.8609 GB, free: 7.133 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.02789, allocations: 4.125 kB / 0.8609 GB, free: 7.129 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.0279, allocations: 16.12 kB / 0.861 GB, free: 7.113 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.02793, allocations: 8 kB / 0.861 GB, free: 7.105 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.02841, allocations: 243.8 kB / 0.8612 GB, free: 6.867 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.02905, allocations: 0.701 MB / 0.8619 GB, free: 6.133 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.02921, allocations: 157.6 kB / 0.862 GB, free: 5.969 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.02926, allocations: 40.78 kB / 0.8621 GB, free: 5.926 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/0.02971, allocations: 474 kB / 0.8625 GB, free: 5.449 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.02974, allocations: 38.56 kB / 0.8626 GB, free: 5.402 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.02974, allocations: 0 / 0.8626 GB, free: 5.402 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0001702/0.02991, allocations: 129.6 kB / 0.8627 GB, free: 5.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.02993, allocations: 55.41 kB / 0.8627 GB, free: 5.203 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.03002, allocations: 173.7 kB / 0.8629 GB, free: 5.023 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.03003, allocations: 29.7 kB / 0.8629 GB, free: 4.988 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.03009, allocations: 148 kB / 0.8631 GB, free: 4.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.03012, allocations: 55.52 kB / 0.8631 GB, free: 4.785 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.03017, allocations: 53.64 kB / 0.8632 GB, free: 4.727 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.03025, allocations: 330.7 kB / 0.8635 GB, free: 4.395 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.03027, allocations: 22.75 kB / 0.8635 GB, free: 4.371 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.03035, allocations: 133.7 kB / 0.8636 GB, free: 4.191 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.03048, allocations: 174 kB / 0.8638 GB, free: 3.973 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.03048, allocations: 8 kB / 0.8638 GB, free: 3.965 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001663/0.03065, allocations: 156.1 kB / 0.864 GB, free: 3.805 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.03067, allocations: 7.984 kB / 0.864 GB, free: 3.797 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.03067, allocations: 4.469 kB / 0.864 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.0307, allocations: 12 kB / 0.864 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.03085, allocations: 59.91 kB / 0.864 GB, free: 3.723 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.03085, allocations: 11.94 kB / 0.8641 GB, free: 3.711 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.03091, allocations: 23.83 kB / 0.8641 GB, free: 3.688 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.03092, allocations: 16 kB / 0.8641 GB, free: 3.672 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.24e-05/0.031, allocations: 128.5 kB / 0.8642 GB, free: 3.535 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.03102, allocations: 19.98 kB / 0.8642 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.03119, allocations: 120.7 kB / 0.8643 GB, free: 3.395 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.0312, allocations: 4 kB / 0.8644 GB, free: 3.391 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.0312, allocations: 4 kB / 0.8644 GB, free: 3.387 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.0312, allocations: 0 / 0.8644 GB, free: 3.387 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.03133, allocations: 113.7 kB / 0.8645 GB, free: 3.258 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.03133, allocations: 3.938 kB / 0.8645 GB, free: 3.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.03141, allocations: 31.97 kB / 0.8645 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.03141, allocations: 4 kB / 0.8645 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.03142, allocations: 4 kB / 0.8645 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.03142, allocations: 3.938 kB / 0.8645 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.03142, allocations: 0 / 0.8645 GB, free: 3.211 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.03155, allocations: 226.2 kB / 0.8647 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.03159, allocations: 39.8 kB / 0.8648 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.0316, allocations: 0 / 0.8648 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.03169, allocations: 15.98 kB / 0.8648 GB, free: 2.918 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.03171, allocations: 3.984 kB / 0.8648 GB, free: 2.914 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.03172, allocations: 8 kB / 0.8648 GB, free: 2.906 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.03175, allocations: 35.45 kB / 0.8648 GB, free: 2.871 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03175, allocations: 0 / 0.8648 GB, free: 2.871 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002383/0.03199, allocations: 83.83 kB / 0.8649 GB, free: 2.789 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.000244/0.03223, allocations: 168.2 kB / 0.8651 GB, free: 2.617 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.03236, allocations: 101.4 kB / 0.8652 GB, free: 2.516 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.03237, allocations: 4.125 kB / 0.8652 GB, free: 2.512 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/0.0324, allocations: 39.03 kB / 0.8652 GB, free: 2.473 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.03261, allocations: 45.91 kB / 0.8652 GB, free: 2.43 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.03328, allocations: 326.8 kB / 0.8656 GB, free: 2.082 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.742e-05/0.03333, allocations: 72.28 kB / 0.8656 GB, free: 1.992 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.03344, allocations: 49.27 kB / 0.8657 GB, free: 1.945 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.03362, allocations: 129.2 kB / 0.8658 GB, free: 1.82 MB / 0.823 GB Notification: Performance of SimCode: time 6.82e-07/0.03362, allocations: 0 / 0.8658 GB, free: 1.82 MB / 0.823 GB Notification: Performance of Templates: time 0.00614/0.03976, allocations: 3.781 MB / 0.8695 GB, free: 14.09 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 -s gbode -gbm=radauIIA3 -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.545688007958233]