Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001315/0.001315, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001512/0.001512, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 4.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.934/1.934, allocations: 377.9 MB / 0.624 GB, free: 8.293 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.546e-05, allocations: 10.19 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.005334/0.005359, allocations: 1.382 MB / 0.7614 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1594/0.1647, allocations: 142.9 MB / 0.9009 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.1648, allocations: 0 / 0.9009 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.1648, allocations: 0 / 0.9009 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.1648, allocations: 15.86 kB / 0.9009 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1652, allocations: 119.3 kB / 0.901 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.1653, allocations: 15.88 kB / 0.9011 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1653, allocations: 11.97 kB / 0.9011 GB, free: 5.766 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.1653, allocations: 8 kB / 0.9011 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.571e-05/0.1654, allocations: 4 kB / 0.9011 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1654, allocations: 0 / 0.9011 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.1657, allocations: 179.5 kB / 0.9013 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.1657, allocations: 4 kB / 0.9013 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.242e-05/0.1657, allocations: 4 kB / 0.9013 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1659, allocations: 131.7 kB / 0.9014 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1659, allocations: 0 / 0.9014 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1659, allocations: 7.938 kB / 0.9014 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1659, allocations: 0 / 0.9014 GB, free: 5.434 MB / 0.8542 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.0001932/0.1661, allocations: 248.7 kB / 0.9016 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1661, allocations: 8.031 kB / 0.9016 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.1664, allocations: 40.83 kB / 0.9017 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.1665, allocations: 113.8 kB / 0.9018 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1665, allocations: 384 / 0.9018 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1665, allocations: 8.312 kB / 0.9018 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.656e-05/0.1666, allocations: 62.3 kB / 0.9019 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.1666, allocations: 0 / 0.9019 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.1666, allocations: 0 / 0.9019 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1666, allocations: 0 / 0.9019 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.1666, allocations: 7.984 kB / 0.9019 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.1668, allocations: 148.3 kB / 0.902 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/0.1668, allocations: 26.52 kB / 0.902 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.1669, allocations: 12.86 kB / 0.902 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.1669, allocations: 0 / 0.902 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.1669, allocations: 30.56 kB / 0.9021 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.1669, allocations: 3.984 kB / 0.9021 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 8.561e-05/0.167, allocations: 37.69 kB / 0.9021 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.167, allocations: 55.41 kB / 0.9022 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.167, allocations: 106.7 kB / 0.9023 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.1671, allocations: 33.83 kB / 0.9023 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.1671, allocations: 88.09 kB / 0.9024 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.1671, allocations: 11.83 kB / 0.9024 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1671, allocations: 17.7 kB / 0.9024 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.1672, allocations: 314.8 kB / 0.9027 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1672, allocations: 11.92 kB / 0.9027 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.1672, allocations: 8 kB / 0.9027 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/0.1672, allocations: 12.84 kB / 0.9027 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1672, allocations: 0 / 0.9027 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.173e-05/0.1673, allocations: 49.62 kB / 0.9028 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.1673, allocations: 4 kB / 0.9028 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1673, allocations: 3.984 kB / 0.9028 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.1673, allocations: 0 / 0.9028 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.1674, allocations: 15.92 kB / 0.9028 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-06/0.1674, allocations: 0 / 0.9028 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.1674, allocations: 8 kB / 0.9028 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1674, allocations: 3.984 kB / 0.9028 GB, free: 3.812 MB / 0.8542 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.588e-05/0.1675, allocations: 105.8 kB / 0.9029 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1675, allocations: 11.94 kB / 0.9029 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.1675, allocations: 3.312 kB / 0.9029 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1675, allocations: 0 / 0.9029 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1675, allocations: 0 / 0.9029 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1675, allocations: 0 / 0.9029 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.532e-05/0.1676, allocations: 65.89 kB / 0.903 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.1676, allocations: 0 / 0.903 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-06/0.1676, allocations: 4 kB / 0.903 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.1676, allocations: 0 / 0.903 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.1676, allocations: 7.938 kB / 0.903 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1676, allocations: 4 kB / 0.903 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1676, allocations: 4 kB / 0.903 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.849e-05/0.1677, allocations: 131.5 kB / 0.9031 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.1677, allocations: 3.984 kB / 0.9032 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.1677, allocations: 7.938 kB / 0.9032 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.1677, allocations: 0 / 0.9032 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-06/0.1677, allocations: 0 / 0.9032 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-07/0.1677, allocations: 0 / 0.9032 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.76e-05/0.1678, allocations: 16.84 kB / 0.9032 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1678, allocations: 0 / 0.9032 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001421/0.1679, allocations: 15.94 kB / 0.9032 GB, free: 3.391 MB / 0.8542 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.0001221/0.168, allocations: 92.44 kB / 0.9033 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.71e-05/0.1681, allocations: 21.25 kB / 0.9033 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1681, allocations: 4 kB / 0.9033 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-06/0.1681, allocations: 12.8 kB / 0.9033 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.1683, allocations: 7.984 kB / 0.9033 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.1687, allocations: 138.6 kB / 0.9035 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.1688, allocations: 59.34 kB / 0.9035 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.1688, allocations: 8.078 kB / 0.9035 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1689, allocations: 59.36 kB / 0.9036 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.1689, allocations: 0 / 0.9036 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of Templates: time 0.002683/0.1715, allocations: 0.8871 MB / 0.9044 GB, free: 2.062 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.294978575780988]