Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0009051/0.0009051, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009342/0.0009342, allocations: 177 kB / 23.36 MB, free: 1.137 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.9749/0.9749, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.562/2.562, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.29e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00209/0.002113, allocations: 1.391 MB / 0.84 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.1368, allocations: 142.9 MB / 0.9795 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.1368, allocations: 0 / 0.9795 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.1369, allocations: 0 / 0.9795 GB, free: 13.4 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.1369, allocations: 7.922 kB / 0.9795 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1373, allocations: 115.3 kB / 0.9796 GB, free: 13.28 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.1374, allocations: 23.8 kB / 0.9796 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1374, allocations: 4 kB / 0.9796 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.1375, allocations: 15.98 kB / 0.9797 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.025e-05/0.1375, allocations: 4 kB / 0.9797 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1375, allocations: 0 / 0.9797 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.1379, allocations: 171.6 kB / 0.9798 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.1379, allocations: 7.922 kB / 0.9798 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.1379, allocations: 4 kB / 0.9798 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1381, allocations: 131.6 kB / 0.98 GB, free: 12.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1381, allocations: 0 / 0.98 GB, free: 12.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1381, allocations: 0 / 0.98 GB, free: 12.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1381, allocations: 0 / 0.98 GB, free: 12.92 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002379/0.1384, allocations: 252.3 kB / 0.9802 GB, free: 12.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1384, allocations: 12.62 kB / 0.9802 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.1388, allocations: 44.81 kB / 0.9803 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.1388, allocations: 113.8 kB / 0.9804 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1389, allocations: 384 / 0.9804 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1389, allocations: 4.375 kB / 0.9804 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.139, allocations: 58.25 kB / 0.9804 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.139, allocations: 4 kB / 0.9804 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.139, allocations: 3.984 kB / 0.9804 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.139, allocations: 0 / 0.9804 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.139, allocations: 4 kB / 0.9804 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.1392, allocations: 148.3 kB / 0.9806 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.1393, allocations: 26.56 kB / 0.9806 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.1393, allocations: 16.8 kB / 0.9806 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.1393, allocations: 4.031 kB / 0.9806 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1393, allocations: 34.56 kB / 0.9807 GB, free: 12.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1393, allocations: 4 kB / 0.9807 GB, free: 12.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 9.596e-05/0.1394, allocations: 33.7 kB / 0.9807 GB, free: 12.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1394, allocations: 51.41 kB / 0.9807 GB, free: 12.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.1395, allocations: 110.7 kB / 0.9808 GB, free: 11.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.1395, allocations: 25.7 kB / 0.9809 GB, free: 11.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.1395, allocations: 88.08 kB / 0.981 GB, free: 11.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.1395, allocations: 7.938 kB / 0.981 GB, free: 11.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.1396, allocations: 17.66 kB / 0.981 GB, free: 11.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.1396, allocations: 318.8 kB / 0.9813 GB, free: 11.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1397, allocations: 8.062 kB / 0.9813 GB, free: 11.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.1397, allocations: 8.172 kB / 0.9813 GB, free: 11.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.1397, allocations: 16.84 kB / 0.9813 GB, free: 11.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1397, allocations: 0 / 0.9813 GB, free: 11.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.19e-05/0.1398, allocations: 49.56 kB / 0.9814 GB, free: 11.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1398, allocations: 4 kB / 0.9814 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1398, allocations: 4 kB / 0.9814 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1398, allocations: 0 / 0.9814 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.1399, allocations: 7.984 kB / 0.9814 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1399, allocations: 7.938 kB / 0.9814 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1399, allocations: 7.984 kB / 0.9814 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1399, allocations: 4 kB / 0.9814 GB, free: 11.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.007e-05/0.14, allocations: 109.8 kB / 0.9815 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.14, allocations: 3.938 kB / 0.9815 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.14, allocations: 7.297 kB / 0.9815 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.14, allocations: 4 kB / 0.9815 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.14, allocations: 0 / 0.9815 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.14, allocations: 0 / 0.9815 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/0.1401, allocations: 73.89 kB / 0.9816 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1401, allocations: 0 / 0.9816 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.1401, allocations: 4 kB / 0.9816 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.1401, allocations: 0 / 0.9816 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.1401, allocations: 3.938 kB / 0.9816 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.1401, allocations: 0 / 0.9816 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1401, allocations: 0 / 0.9816 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.519e-05/0.1402, allocations: 131.5 kB / 0.9817 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.1402, allocations: 4 kB / 0.9817 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1402, allocations: 3.938 kB / 0.9817 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.1403, allocations: 8.016 kB / 0.9817 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1403, allocations: 4 kB / 0.9817 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.1403, allocations: 0 / 0.9817 GB, free: 10.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.252e-05/0.1403, allocations: 8.859 kB / 0.9817 GB, free: 10.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1403, allocations: 0 / 0.9817 GB, free: 10.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001498/0.1405, allocations: 19.94 kB / 0.9818 GB, free: 10.87 MB / 0.948 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001416/0.1406, allocations: 96.39 kB / 0.9819 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.818e-05/0.1407, allocations: 16.84 kB / 0.9819 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1407, allocations: 4 kB / 0.9819 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.1407, allocations: 12.8 kB / 0.9819 GB, free: 10.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.1408, allocations: 14.03 kB / 0.9819 GB, free: 10.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.1413, allocations: 132.5 kB / 0.982 GB, free: 10.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.164e-05/0.1413, allocations: 55.36 kB / 0.9821 GB, free: 10.48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.154e-05/0.1413, allocations: 4.438 kB / 0.9821 GB, free: 10.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.1414, allocations: 59.36 kB / 0.9821 GB, free: 10.42 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.1414, allocations: 4 kB / 0.9821 GB, free: 10.41 MB / 0.948 GB Notification: Performance of Templates: time 0.002532/0.1439, allocations: 0.895 MB / 0.983 GB, free: 9.523 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.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.596028390806168]