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.00145/0.00145, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001779/0.001779, allocations: 177 kB / 23.49 MB, free: 1.055 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.9825/0.9825, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.022/2.022, allocations: 429.5 MB / 0.6736 GB, free: 4.004 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 1.773e-06/1.773e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.039e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00157/0.001591, allocations: 1.342 MB / 0.8795 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1467/0.1483, allocations: 143.2 MB / 1.019 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.1483, allocations: 0 / 1.019 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.1483, allocations: 7.922 kB / 1.019 GB, free: 5.586 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.1484, allocations: 7.938 kB / 1.019 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1488, allocations: 123.3 kB / 1.019 GB, free: 5.457 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.1488, allocations: 15.88 kB / 1.019 GB, free: 5.441 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1489, allocations: 7.984 kB / 1.019 GB, free: 5.434 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 4.766e-05/0.1489, allocations: 11.98 kB / 1.019 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 2.728e-05/0.1489, allocations: 7.938 kB / 1.019 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.149, allocations: 0 / 1.019 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.1493, allocations: 171.6 kB / 1.02 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1493, allocations: 0 / 1.02 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.1493, allocations: 12 kB / 1.02 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1495, allocations: 127.6 kB / 1.02 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1495, allocations: 0 / 1.02 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1495, allocations: 0 / 1.02 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1495, allocations: 0 / 1.02 GB, free: 5.109 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.0002711/0.1498, allocations: 376 kB / 1.02 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1498, allocations: 16.02 kB / 1.02 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/0.1502, allocations: 48.73 kB / 1.02 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.162e-05/0.1503, allocations: 112.6 kB / 1.02 GB, free: 4.508 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1503, allocations: 384 / 1.02 GB, free: 4.508 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1503, allocations: 384 / 1.02 GB, free: 4.508 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1505, allocations: 58.31 kB / 1.02 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1505, allocations: 0 / 1.02 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1505, allocations: 4 kB / 1.02 GB, free: 4.438 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1505, allocations: 0 / 1.02 GB, free: 4.438 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.1505, allocations: 11.98 kB / 1.02 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.1508, allocations: 259.7 kB / 1.021 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.663e-05/0.1508, allocations: 27.06 kB / 1.021 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.1509, allocations: 15.75 kB / 1.021 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.1509, allocations: 3.938 kB / 1.021 GB, free: 4.074 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1509, allocations: 37.39 kB / 1.021 GB, free: 4.027 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1509, allocations: 0 / 1.021 GB, free: 4.027 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.151, allocations: 41.62 kB / 1.021 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.151, allocations: 55.41 kB / 1.021 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.1511, allocations: 170 kB / 1.021 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.1512, allocations: 29.7 kB / 1.021 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.1512, allocations: 134.8 kB / 1.021 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.1512, allocations: 7.891 kB / 1.021 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1512, allocations: 23.36 kB / 1.021 GB, free: 3.52 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1513, allocations: 0.4923 MB / 1.022 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.1514, allocations: 0 / 1.022 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.1514, allocations: 4 kB / 1.022 GB, free: 3.012 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.1514, allocations: 27.61 kB / 1.022 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1514, allocations: 0 / 1.022 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.872e-05/0.1515, allocations: 49.62 kB / 1.022 GB, free: 2.926 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1515, allocations: 4 kB / 1.022 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1515, allocations: 0 / 1.022 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1516, allocations: 4 kB / 1.022 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.1516, allocations: 11.98 kB / 1.022 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1516, allocations: 0 / 1.022 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1517, allocations: 4 kB / 1.022 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1517, allocations: 7.984 kB / 1.022 GB, free: 2.895 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.736e-05/0.1518, allocations: 164.5 kB / 1.022 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.1518, allocations: 3.953 kB / 1.022 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.1518, allocations: 3.312 kB / 1.022 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1518, allocations: 4 kB / 1.022 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1518, allocations: 0 / 1.022 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1518, allocations: 0 / 1.022 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.725e-05/0.1519, allocations: 120.6 kB / 1.022 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1519, allocations: 0 / 1.022 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.1519, allocations: 0 / 1.022 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1519, allocations: 4 kB / 1.022 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1519, allocations: 0 / 1.022 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1519, allocations: 4 kB / 1.022 GB, free: 2.547 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1519, allocations: 3.938 kB / 1.022 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.152, allocations: 195.8 kB / 1.022 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.152, allocations: 0 / 1.022 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1521, allocations: 0 / 1.022 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.1521, allocations: 4 kB / 1.022 GB, free: 2.328 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.1521, allocations: 0 / 1.022 GB, free: 2.328 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.1521, allocations: 0 / 1.022 GB, free: 2.328 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.1522, allocations: 135.2 kB / 1.022 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1522, allocations: 0 / 1.022 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001701/0.1523, allocations: 19.97 kB / 1.022 GB, free: 2.176 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.000141/0.1525, allocations: 103.2 kB / 1.022 GB, free: 2.066 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.1526, allocations: 27.61 kB / 1.023 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1526, allocations: 0 / 1.023 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.1526, allocations: 15.69 kB / 1.023 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1528, allocations: 12.95 kB / 1.023 GB, free: 2.004 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1533, allocations: 138.5 kB / 1.023 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.1533, allocations: 59.3 kB / 1.023 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.253e-05/0.1534, allocations: 8.5 kB / 1.023 GB, free: 1.754 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1534, allocations: 16.48 kB / 1.023 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of SimCode: time 5.71e-07/0.1534, allocations: 0 / 1.023 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of Templates: time 0.002485/0.1559, allocations: 0.8058 MB / 1.024 GB, free: 0.9492 MB / 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.4203137580771]