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.001401/0.001401, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001717/0.001717, allocations: 169 kB / 23.02 MB, free: 1.551 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.9632/0.9632, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.129/2.129, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.114e-06/2.114e-06, allocations: 0 / 0.8782 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.461e-05, allocations: 7.219 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00272/0.002755, allocations: 1.359 MB / 0.8795 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1291/0.1319, allocations: 143.5 MB / 1.02 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.1319, allocations: 0 / 1.02 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.1319, allocations: 3.938 kB / 1.02 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.132, allocations: 3.938 kB / 1.02 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1324, allocations: 127.3 kB / 1.02 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 5.699e-05/0.1324, allocations: 19.81 kB / 1.02 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.1325, allocations: 4 kB / 1.02 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1325, allocations: 11.98 kB / 1.02 GB, free: 4.867 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 2.737e-05/0.1325, allocations: 4 kB / 1.02 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1325, allocations: 0 / 1.02 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.1328, allocations: 175.6 kB / 1.02 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1329, allocations: 3.938 kB / 1.02 GB, free: 4.688 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.1329, allocations: 8 kB / 1.02 GB, free: 4.68 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1331, allocations: 119.7 kB / 1.02 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1331, allocations: 0 / 1.02 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1331, allocations: 0 / 1.02 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1331, allocations: 0 / 1.02 GB, free: 4.562 MB / 0.9792 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.0003202/0.1334, allocations: 391.9 kB / 1.02 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1334, allocations: 12.03 kB / 1.02 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.1338, allocations: 40.78 kB / 1.02 GB, free: 4.094 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.1339, allocations: 116.6 kB / 1.021 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1339, allocations: 384 / 1.021 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1339, allocations: 4.375 kB / 1.021 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.134, allocations: 58.31 kB / 1.021 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1341, allocations: 0 / 1.021 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1341, allocations: 0 / 1.021 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1341, allocations: 0 / 1.021 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.1341, allocations: 15.98 kB / 1.021 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.1344, allocations: 251.8 kB / 1.021 GB, free: 3.586 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.1344, allocations: 31 kB / 1.021 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.1344, allocations: 11.75 kB / 1.021 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.1344, allocations: 4 kB / 1.021 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1345, allocations: 41.39 kB / 1.021 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1345, allocations: 0 / 1.021 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0001173/0.1346, allocations: 41.62 kB / 1.021 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.1346, allocations: 51.41 kB / 1.021 GB, free: 3.363 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.1347, allocations: 169.9 kB / 1.021 GB, free: 3.18 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.1347, allocations: 25.7 kB / 1.021 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1347, allocations: 130.8 kB / 1.021 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.1347, allocations: 11.89 kB / 1.021 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.1348, allocations: 23.36 kB / 1.021 GB, free: 2.973 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1349, allocations: 0.4924 MB / 1.022 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.1349, allocations: 4 kB / 1.022 GB, free: 2.465 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.1349, allocations: 8.172 kB / 1.022 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.135, allocations: 23.61 kB / 1.022 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.135, allocations: 0 / 1.022 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.937e-05/0.135, allocations: 49.62 kB / 1.022 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1351, allocations: 4 kB / 1.022 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1351, allocations: 0 / 1.022 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1351, allocations: 7.984 kB / 1.022 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.1351, allocations: 11.94 kB / 1.022 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1351, allocations: 0 / 1.022 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.1352, allocations: 11.98 kB / 1.022 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1352, allocations: 0 / 1.022 GB, free: 2.34 MB / 0.9792 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 6.111e-05/0.1353, allocations: 164.5 kB / 1.022 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.1353, allocations: 3.953 kB / 1.022 GB, free: 2.164 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.1353, allocations: 7.312 kB / 1.022 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1353, allocations: 0 / 1.022 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1353, allocations: 0 / 1.022 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1353, allocations: 4 kB / 1.022 GB, free: 2.148 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.1354, allocations: 124.5 kB / 1.022 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1354, allocations: 0 / 1.022 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.1354, allocations: 4 kB / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1354, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.1354, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.1354, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1354, allocations: 0 / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.031e-05/0.1355, allocations: 195.8 kB / 1.022 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.1355, allocations: 0 / 1.022 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1355, allocations: 0 / 1.022 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.1356, allocations: 8.031 kB / 1.023 GB, free: 1.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.1356, allocations: 3.984 kB / 1.023 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.1356, allocations: 0 / 1.023 GB, free: 1.766 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.1356, allocations: 131.2 kB / 1.023 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1356, allocations: 0 / 1.023 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001564/0.1358, allocations: 15.94 kB / 1.023 GB, free: 1.621 MB / 0.9792 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.0001271/0.1359, allocations: 103.2 kB / 1.023 GB, free: 1.512 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.136, allocations: 31.61 kB / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.136, allocations: 0 / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.617e-06/0.136, allocations: 11.69 kB / 1.023 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.1362, allocations: 15.92 kB / 1.023 GB, free: 1.445 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.1366, allocations: 130.4 kB / 1.023 GB, free: 1.289 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.1367, allocations: 55.36 kB / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.1367, allocations: 8.375 kB / 1.023 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.1367, allocations: 28.36 kB / 1.023 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of SimCode: time 4.31e-07/0.1367, allocations: 0 / 1.023 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of Templates: time 0.002258/0.139, allocations: 0.8025 MB / 1.024 GB, free: 404 kB / 0.9792 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.599955336656421]