Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001139/0.001139, 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.001163/0.001163, 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.974/0.974, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.989/1.989, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] 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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.812e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001666/0.001684, allocations: 1.315 MB / 0.8128 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004488/0.002133, allocations: 297.5 kB / 0.8131 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.00216, allocations: 1.844 kB / 0.8131 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.002183, allocations: 0 / 0.8131 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.618e-05/0.002229, allocations: 7.922 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.002505, allocations: 44.5 kB / 0.8132 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.002569, allocations: 28.48 kB / 0.8132 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.002613, allocations: 7.984 kB / 0.8132 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.002666, allocations: 4.906 kB / 0.8132 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.002713, allocations: 4 kB / 0.8132 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.002727, allocations: 0 / 0.8132 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.002825, allocations: 56.59 kB / 0.8132 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.00284, allocations: 13.02 kB / 0.8133 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.002858, allocations: 4 kB / 0.8133 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.002978, allocations: 55.81 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00298, allocations: 0.625 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002981, allocations: 0 / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002985, allocations: 0.5938 kB / 0.8133 GB, free: 14.79 MB / 0.7292 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.0003259/0.003311, allocations: 361.5 kB / 0.8137 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.00335, allocations: 12.03 kB / 0.8137 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.003528, allocations: 27.41 kB / 0.8137 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.671e-05/0.003595, allocations: 112.6 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.003606, allocations: 4.375 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.003619, allocations: 4.375 kB / 0.8138 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.003717, allocations: 67.89 kB / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.003727, allocations: 192 / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.003737, allocations: 1.125 kB / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.003745, allocations: 384 / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.00378, allocations: 24.42 kB / 0.8139 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.003898, allocations: 118 kB / 0.814 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009273/0.004826, allocations: 268.9 kB / 0.8143 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.00486, allocations: 27.67 kB / 0.8143 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.00487, allocations: 0.5312 kB / 0.8143 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.0049, allocations: 37.86 kB / 0.8143 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004901, allocations: 0.5312 kB / 0.8143 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001497/0.005051, allocations: 61.69 kB / 0.8144 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.005079, allocations: 52.25 kB / 0.8144 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.005149, allocations: 154.7 kB / 0.8146 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.005165, allocations: 29.7 kB / 0.8146 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.005196, allocations: 127.4 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.005224, allocations: 11.91 kB / 0.8148 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.005253, allocations: 24.73 kB / 0.8148 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.005372, allocations: 496.1 kB / 0.8153 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.005386, allocations: 8 kB / 0.8153 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.005399, allocations: 13.2 kB / 0.8153 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.005435, allocations: 23.69 kB / 0.8153 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005436, allocations: 0 / 0.8153 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.228e-05/0.005499, allocations: 58.02 kB / 0.8154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.00551, allocations: 8.656 kB / 0.8154 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.005515, allocations: 0.7188 kB / 0.8154 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.005529, allocations: 0 / 0.8154 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.643e-05/0.005565, allocations: 4.906 kB / 0.8154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.00557, allocations: 0 / 0.8154 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.005589, allocations: 11.88 kB / 0.8154 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.005593, allocations: 0.8438 kB / 0.8154 GB, free: 12.49 MB / 0.7292 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.005e-05/0.005653, allocations: 157.9 kB / 0.8155 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.005663, allocations: 11.98 kB / 0.8155 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.005687, allocations: 7.516 kB / 0.8155 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.005688, allocations: 0 / 0.8155 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005692, allocations: 0.5 kB / 0.8155 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005695, allocations: 4.625 kB / 0.8156 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.549e-05/0.00576, allocations: 116.6 kB / 0.8157 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005761, allocations: 9.688 kB / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.005781, allocations: 8 kB / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005782, allocations: 0 / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.005787, allocations: 0 / 0.8157 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.00579, allocations: 7.969 kB / 0.8157 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005791, allocations: 0.875 kB / 0.8157 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.211e-05/0.005863, allocations: 92.31 kB / 0.8158 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.005898, allocations: 7.469 kB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.005906, allocations: 0 / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.005931, allocations: 4 kB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.005946, allocations: 7.984 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.00595, allocations: 0 / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.00598, allocations: 119.2 kB / 0.8159 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.00598, allocations: 0 / 0.8159 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001208/0.006101, allocations: 11.94 kB / 0.8159 GB, free: 11.87 MB / 0.7292 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 (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 Backend phase and start with SimCode phase: time 6.208e-05/0.006163, allocations: 95.78 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.578e-05/0.006239, allocations: 32.7 kB / 0.816 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.00624, allocations: 0 / 0.816 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.006258, allocations: 23.62 kB / 0.8161 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.006399, allocations: 13.08 kB / 0.8161 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.006792, allocations: 125.1 kB / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.899e-05/0.006821, allocations: 59.34 kB / 0.8163 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.006857, allocations: 3.281 kB / 0.8163 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.00688, allocations: 12.5 kB / 0.8163 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.006881, allocations: 0 / 0.8163 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.001834/0.008715, allocations: 0.6246 MB / 0.8169 GB, free: 10.87 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.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.128129689954221]