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.001047/0.001047, 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.00108/0.00108, allocations: 177 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.9231/0.9231, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.357/2.357, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.723e-06/1.723e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.917e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00192/0.00194, allocations: 1.337 MB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.1312, allocations: 142.8 MB / 0.9794 GB, free: 13.44 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.1312, allocations: 0 / 0.9794 GB, free: 13.44 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.1313, allocations: 7.922 kB / 0.9794 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.1313, allocations: 7.938 kB / 0.9794 GB, free: 13.42 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1317, allocations: 131.3 kB / 0.9795 GB, free: 13.29 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.1317, allocations: 19.88 kB / 0.9795 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1318, allocations: 0 / 0.9795 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.1318, allocations: 15.92 kB / 0.9796 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.1318, allocations: 0 / 0.9796 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1319, allocations: 4 kB / 0.9796 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.1321, allocations: 175.6 kB / 0.9797 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.926e-06/0.1321, allocations: 0 / 0.9797 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.1322, allocations: 4 kB / 0.9797 GB, free: 13.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1323, allocations: 123.7 kB / 0.9799 GB, free: 12.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1323, allocations: 4 kB / 0.9799 GB, free: 12.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1323, allocations: 0 / 0.9799 GB, free: 12.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.1323, allocations: 3.938 kB / 0.9799 GB, free: 12.95 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.0002031/0.1325, allocations: 260.3 kB / 0.9801 GB, free: 12.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1326, allocations: 8.625 kB / 0.9801 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.1329, allocations: 40.83 kB / 0.9802 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.143e-05/0.1329, allocations: 109.8 kB / 0.9803 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1329, allocations: 384 / 0.9803 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.133, allocations: 4.375 kB / 0.9803 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1331, allocations: 70.3 kB / 0.9803 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-06/0.1331, allocations: 0 / 0.9803 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.1331, allocations: 0 / 0.9803 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-06/0.1331, allocations: 0 / 0.9803 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.1332, allocations: 7.984 kB / 0.9803 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1333, allocations: 148.2 kB / 0.9805 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.1334, allocations: 26.59 kB / 0.9805 GB, free: 12.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.244e-05/0.1334, allocations: 20.86 kB / 0.9805 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.1334, allocations: 0 / 0.9805 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.1334, allocations: 34.56 kB / 0.9806 GB, free: 12.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.1334, allocations: 0 / 0.9806 GB, free: 12.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 7.578e-05/0.1335, allocations: 37.64 kB / 0.9806 GB, free: 12.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.1335, allocations: 51.41 kB / 0.9806 GB, free: 12.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.1336, allocations: 106.7 kB / 0.9807 GB, free: 11.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.1336, allocations: 25.7 kB / 0.9808 GB, free: 11.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.1336, allocations: 84.22 kB / 0.9809 GB, free: 11.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.1336, allocations: 15.91 kB / 0.9809 GB, free: 11.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1336, allocations: 25.66 kB / 0.9809 GB, free: 11.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.1337, allocations: 314.8 kB / 0.9812 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.1337, allocations: 0 / 0.9812 GB, free: 11.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.159e-05/0.1337, allocations: 11.92 kB / 0.9812 GB, free: 11.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.1337, allocations: 8.859 kB / 0.9812 GB, free: 11.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1337, allocations: 4 kB / 0.9812 GB, free: 11.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.214e-05/0.1338, allocations: 49.55 kB / 0.9813 GB, free: 11.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.1338, allocations: 6.188 kB / 0.9813 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1338, allocations: 4 kB / 0.9813 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-06/0.1338, allocations: 0 / 0.9813 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.1339, allocations: 8 kB / 0.9813 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.1339, allocations: 0 / 0.9813 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.1339, allocations: 7.984 kB / 0.9813 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1339, allocations: 0 / 0.9813 GB, free: 11.33 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 4.427e-05/0.134, allocations: 109.8 kB / 0.9814 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.134, allocations: 7.938 kB / 0.9814 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.134, allocations: 7.312 kB / 0.9814 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.134, allocations: 7.984 kB / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.134, allocations: 0 / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.134, allocations: 0 / 0.9814 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.036e-05/0.1341, allocations: 65.89 kB / 0.9815 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1341, allocations: 4 kB / 0.9815 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-06/0.1341, allocations: 0 / 0.9815 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.1341, allocations: 0 / 0.9815 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.1341, allocations: 3.938 kB / 0.9815 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.1341, allocations: 7.938 kB / 0.9815 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1341, allocations: 0 / 0.9815 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.584e-05/0.1341, allocations: 135.5 kB / 0.9816 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.1341, allocations: 0 / 0.9816 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.1342, allocations: 7.938 kB / 0.9816 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1342, allocations: 0 / 0.9816 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-06/0.1342, allocations: 4.312 kB / 0.9816 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.1342, allocations: 0 / 0.9816 GB, free: 10.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.079e-05/0.1342, allocations: 16.84 kB / 0.9817 GB, free: 10.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/0.1342, allocations: 0 / 0.9817 GB, free: 10.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001327/0.1344, allocations: 15.94 kB / 0.9817 GB, free: 10.9 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.0001127/0.1345, allocations: 92.44 kB / 0.9818 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.017e-05/0.1345, allocations: 24.77 kB / 0.9818 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1345, allocations: 3.938 kB / 0.9818 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.1345, allocations: 8.859 kB / 0.9818 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1347, allocations: 23.91 kB / 0.9818 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.135, allocations: 128.6 kB / 0.9819 GB, free: 10.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.1351, allocations: 51.36 kB / 0.982 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.1351, allocations: 8 kB / 0.982 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.1351, allocations: 59.36 kB / 0.982 GB, free: 10.44 MB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/0.1351, allocations: 0 / 0.982 GB, free: 10.44 MB / 0.948 GB Notification: Performance of Templates: time 0.002172/0.1373, allocations: 0.8932 MB / 0.9829 GB, free: 9.555 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 -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.164216130971909]