Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001336/0.001336, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001701/0.001701, allocations: 161 kB / 23.82 MB, free: 0.75 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.9239/0.9239, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.069e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001852/0.001872, allocations: 1.328 MB / 0.8128 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003023, allocations: 0.8984 MB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.00305, allocations: 0.5625 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.00307, allocations: 3.938 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.00312, allocations: 8.984 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.003733, allocations: 202.3 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.003787, allocations: 15.88 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.003825, allocations: 7.984 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.003873, allocations: 4 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.003923, allocations: 19.91 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.003937, allocations: 0 / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.00425, allocations: 228.6 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.004261, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.00428, allocations: 9 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.00452, allocations: 203.4 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004523, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004523, allocations: 1.344 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004527, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003388/0.004866, allocations: 380 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.004903, allocations: 13.97 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.00511, allocations: 29.14 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.005191, allocations: 108.6 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.005202, allocations: 4.375 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.005216, allocations: 6.062 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005335, allocations: 67.94 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.005344, allocations: 3.938 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005354, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.00536, allocations: 0.9062 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.005397, allocations: 16 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.005528, allocations: 120.6 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.006049, allocations: 145.8 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.006083, allocations: 23.67 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.006175, allocations: 8 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.006199, allocations: 34.23 kB / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006199, allocations: 0 / 0.8153 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001451/0.006345, allocations: 66.47 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.00637, allocations: 59.33 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.00643, allocations: 155.2 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006441, allocations: 25.7 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.006467, allocations: 126.9 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.006493, allocations: 12.75 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.006521, allocations: 19.38 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006626, allocations: 0.4895 MB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.006642, allocations: 8 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.006654, allocations: 4 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.006692, allocations: 29.05 kB / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006694, allocations: 0 / 0.8163 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.968e-05/0.006754, allocations: 53.62 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006767, allocations: 10.66 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006771, allocations: 1.438 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006783, allocations: 3.938 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.481e-05/0.006818, allocations: 4 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.006824, allocations: 6.891 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.00684, allocations: 8 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.006847, allocations: 7.984 kB / 0.8164 GB, free: 12.62 MB / 0.7761 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 (4): * Single equations (assignments): 4 * 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.748e-05/0.006905, allocations: 152.6 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-06/0.006913, allocations: 7.953 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.007051, allocations: 74.67 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007053, allocations: 4.5 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007057, allocations: 0 / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.007059, allocations: 4.594 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.007127, allocations: 124.5 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007128, allocations: 2.719 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.007153, allocations: 8 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.007154, allocations: 0 / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.007163, allocations: 7.938 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007163, allocations: 0 / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.007166, allocations: 3.938 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.435e-05/0.00724, allocations: 92.44 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.007263, allocations: 14.66 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.007273, allocations: 336 / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.156e-05/0.007295, allocations: 4 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.007311, allocations: 7.922 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.007315, allocations: 0 / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.007344, allocations: 127.1 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007344, allocations: 0 / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001753/0.007519, allocations: 48.81 kB / 0.817 GB, free: 11.88 MB / 0.7761 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 (5): * Single equations (assignments): 5 * 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.000182/0.007701, allocations: 172.2 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.795e-05/0.007779, allocations: 35.66 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.00778, allocations: 0 / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.007799, allocations: 20.75 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.007928, allocations: 20.23 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.008417, allocations: 128.6 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.008446, allocations: 59.34 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.008484, allocations: 6.375 kB / 0.8174 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.008508, allocations: 13 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.008508, allocations: 1.312 kB / 0.8174 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.002756/0.01126, allocations: 1.26 MB / 0.8187 GB, free: 10.14 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.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.148571497295052]