Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001527/0.001527, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001244/0.001244, allocations: 169 kB / 24.06 MB, free: 456 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 0.9983/0.9983, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.107/2.107, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8794 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.611e-05, allocations: 7.875 kB / 0.8794 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001653/0.001669, allocations: 1.324 MB / 0.8807 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.002963, allocations: 0.8872 MB / 0.8816 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.002994, allocations: 0 / 0.8816 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.003013, allocations: 1.125 kB / 0.8816 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.659e-05/0.00306, allocations: 7.922 kB / 0.8816 GB, free: 2.656 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.003624, allocations: 201.3 kB / 0.8818 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.003678, allocations: 15.94 kB / 0.8818 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.003711, allocations: 4 kB / 0.8818 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.003772, allocations: 12.58 kB / 0.8818 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.003819, allocations: 12.48 kB / 0.8818 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.003831, allocations: 0 / 0.8818 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.004153, allocations: 232.8 kB / 0.882 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.004166, allocations: 0 / 0.882 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.004183, allocations: 7.984 kB / 0.882 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.004431, allocations: 208.1 kB / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004433, allocations: 0 / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004434, allocations: 1.312 kB / 0.8822 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.004438, allocations: 0 / 0.8822 GB, free: 1.98 MB / 0.7917 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.0003425/0.004781, allocations: 380.3 kB / 0.8826 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004819, allocations: 12.81 kB / 0.8826 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.005038, allocations: 29.41 kB / 0.8826 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.005125, allocations: 105.7 kB / 0.8827 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.005139, allocations: 4.375 kB / 0.8827 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.005147, allocations: 384 / 0.8827 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.005258, allocations: 68.67 kB / 0.8828 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005267, allocations: 3.938 kB / 0.8828 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.005276, allocations: 1 kB / 0.8828 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.005281, allocations: 0 / 0.8828 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.005312, allocations: 23.42 kB / 0.8828 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.005438, allocations: 105.2 kB / 0.8829 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.005957, allocations: 137.8 kB / 0.8831 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.00598, allocations: 19.69 kB / 0.8831 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.006051, allocations: 11.98 kB / 0.8831 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.006071, allocations: 33.39 kB / 0.8831 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.006072, allocations: 0 / 0.8831 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001255/0.006198, allocations: 57.62 kB / 0.8832 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.006224, allocations: 55.34 kB / 0.8832 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.006279, allocations: 153.9 kB / 0.8834 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.006289, allocations: 25.7 kB / 0.8834 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.006318, allocations: 126.9 kB / 0.8835 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.006346, allocations: 20 kB / 0.8835 GB, free: 484 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.006373, allocations: 23.38 kB / 0.8836 GB, free: 452 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.006496, allocations: 496.1 kB / 0.884 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.006508, allocations: 7.984 kB / 0.884 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.006518, allocations: 4 kB / 0.8841 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.00655, allocations: 23.62 kB / 0.8841 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006552, allocations: 0 / 0.8841 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.227e-05/0.006614, allocations: 57.62 kB / 0.8841 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.006631, allocations: 9.719 kB / 0.8841 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.006637, allocations: 4 kB / 0.8841 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.006646, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.006684, allocations: 11.94 kB / 0.8842 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006687, allocations: 0 / 0.8842 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.006703, allocations: 4 kB / 0.8842 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.006708, allocations: 0 / 0.8842 GB, free: 15.82 MB / 0.8073 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 6.428e-05/0.006773, allocations: 152.6 kB / 0.8843 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.006783, allocations: 11.92 kB / 0.8843 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.006917, allocations: 77.19 kB / 0.8844 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.006919, allocations: 0 / 0.8844 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.006924, allocations: 3.938 kB / 0.8844 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.006927, allocations: 0 / 0.8844 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.674e-05/0.007004, allocations: 109.1 kB / 0.8845 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.007005, allocations: 0 / 0.8845 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.007032, allocations: 11.98 kB / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007035, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.007039, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00704, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007041, allocations: 4 kB / 0.8845 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.561e-05/0.007116, allocations: 96.27 kB / 0.8846 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.007141, allocations: 4.328 kB / 0.8846 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.007151, allocations: 7.984 kB / 0.8846 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.007173, allocations: 4 kB / 0.8846 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.007189, allocations: 0 / 0.8846 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.007193, allocations: 0 / 0.8846 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.007225, allocations: 127.1 kB / 0.8847 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007225, allocations: 0 / 0.8847 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001973/0.007422, allocations: 51.86 kB / 0.8848 GB, free: 15.1 MB / 0.8073 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.0002166/0.007639, allocations: 175.2 kB / 0.885 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.182e-05/0.007721, allocations: 31.73 kB / 0.885 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007722, allocations: 0 / 0.885 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.007743, allocations: 27.66 kB / 0.885 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.007887, allocations: 15.94 kB / 0.885 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.008323, allocations: 134.2 kB / 0.8852 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.814e-05/0.008351, allocations: 59.36 kB / 0.8852 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.008391, allocations: 7.984 kB / 0.8852 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/0.00845, allocations: 78.19 kB / 0.8853 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.00845, allocations: 4 kB / 0.8853 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.002765/0.01122, allocations: 1.432 MB / 0.8867 GB, free: 13.09 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.366600903216749]