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.001057/0.001057, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.001211/0.001211, allocations: 161.5 kB / 24.86 MB, free: 9.242 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.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.908/1.908, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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_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.223e-06/1.223e-06, allocations: 0 / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.311e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001914/0.001937, allocations: 1.303 MB / 0.8141 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.002386, allocations: 299.7 kB / 0.8143 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.002413, allocations: 0.5312 kB / 0.8143 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.002431, allocations: 1.375 kB / 0.8143 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.002476, allocations: 11.92 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.002743, allocations: 48.22 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.002798, allocations: 21.3 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.002833, allocations: 4 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.002887, allocations: 7.984 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.002932, allocations: 7.938 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.002944, allocations: 1.156 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.003045, allocations: 59.88 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.003061, allocations: 0 / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.003076, allocations: 9.328 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003188, allocations: 51.89 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003191, allocations: 0 / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.003192, allocations: 1.312 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003196, allocations: 0 / 0.8146 GB, free: 15.61 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.0003041/0.0035, allocations: 364.2 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.003538, allocations: 15.97 kB / 0.8149 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.003701, allocations: 27.59 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.003774, allocations: 112.5 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.003786, allocations: 384 / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-06/0.003794, allocations: 4.375 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.33e-05/0.003888, allocations: 63.95 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003895, allocations: 10.7 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-06/0.003901, allocations: 384 / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003906, allocations: 4.375 kB / 0.8151 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.003933, allocations: 15.92 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.004091, allocations: 97.27 kB / 0.8152 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.004973, allocations: 269.9 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.005005, allocations: 23.67 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.005015, allocations: 0.7812 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.00504, allocations: 41.38 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.005043, allocations: 1.281 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001178/0.005161, allocations: 53.62 kB / 0.8156 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.005187, allocations: 55.41 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.005244, allocations: 150.8 kB / 0.8158 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.005254, allocations: 25.7 kB / 0.8158 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.005283, allocations: 128.2 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.005311, allocations: 15.84 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.00534, allocations: 23.38 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.005472, allocations: 0.4922 MB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.005484, allocations: 5.25 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.005495, allocations: 4 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.005527, allocations: 27.67 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.005529, allocations: 2.438 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.444e-05/0.005594, allocations: 45.64 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.005608, allocations: 4 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005613, allocations: 0 / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.005622, allocations: 0 / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.005666, allocations: 11.98 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005669, allocations: 0.9688 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.005688, allocations: 7.938 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.005692, allocations: 3.938 kB / 0.8166 GB, free: 13.35 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 7.052e-05/0.005763, allocations: 157.7 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.005772, allocations: 3.953 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.005794, allocations: 8.656 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005796, allocations: 0 / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.005799, allocations: 4 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005801, allocations: 1.422 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.452e-05/0.005876, allocations: 105.2 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005877, allocations: 0 / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.005898, allocations: 5 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.005905, allocations: 3.984 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.005909, allocations: 0 / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005911, allocations: 4.5 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.005912, allocations: 5.406 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.882e-05/0.006001, allocations: 88.36 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.006036, allocations: 7.984 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.006043, allocations: 0 / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.006071, allocations: 0.7188 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.006085, allocations: 8 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.00609, allocations: 5.344 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.006123, allocations: 119.2 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006123, allocations: 0 / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000124/0.006247, allocations: 8.844 kB / 0.8171 GB, free: 12.77 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 (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 0.0001021/0.006349, allocations: 95.89 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.512e-05/0.006414, allocations: 27.62 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.006417, allocations: 0.6562 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.006431, allocations: 22.77 kB / 0.8172 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.006601, allocations: 30.19 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.007002, allocations: 129.4 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.007033, allocations: 57.17 kB / 0.8174 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.00707, allocations: 2.438 kB / 0.8175 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.007134, allocations: 82.19 kB / 0.8175 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.007134, allocations: 3.938 kB / 0.8175 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.002163/0.009297, allocations: 0.6666 MB / 0.8182 GB, free: 11.63 MB / 0.7761 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.073411483783275]