Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001049/0.001049, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001102/0.001102, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.127/2.127, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.446e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001443/0.001458, allocations: 1.329 MB / 0.8795 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000408/0.001866, allocations: 299.4 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.001889, allocations: 0 / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.001909, allocations: 4 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.001956, allocations: 8.797 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002367/0.002193, allocations: 47.69 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.002245, allocations: 16.86 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.002283, allocations: 11.98 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.002332, allocations: 9.016 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.002374, allocations: 7.938 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.002387, allocations: 0 / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.002475, allocations: 49.08 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.002487, allocations: 4 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.002507, allocations: 11.98 kB / 0.8799 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.00262, allocations: 48.86 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002622, allocations: 0 / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002622, allocations: 0 / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.002626, allocations: 1.062 kB / 0.88 GB, free: 4.484 MB / 0.8386 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.0002944/0.002921, allocations: 368.5 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.002954, allocations: 12.69 kB / 0.8803 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.003118, allocations: 25.45 kB / 0.8803 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.488e-05/0.003183, allocations: 109.8 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.003195, allocations: 4.312 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.003207, allocations: 4.375 kB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.268e-05/0.0033, allocations: 68.55 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.003307, allocations: 192 / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.003316, allocations: 1.75 kB / 0.8805 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.003326, allocations: 4.359 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.003358, allocations: 15.92 kB / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.00347, allocations: 120.7 kB / 0.8807 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.004359, allocations: 282.7 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.004386, allocations: 19.69 kB / 0.881 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.004394, allocations: 4 kB / 0.881 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.004413, allocations: 34.23 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.004414, allocations: 0 / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001205/0.004535, allocations: 65.64 kB / 0.8811 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.004557, allocations: 51.41 kB / 0.8811 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.004615, allocations: 165.8 kB / 0.8813 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.004624, allocations: 25.7 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.579e-05/0.00465, allocations: 130.9 kB / 0.8814 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.004675, allocations: 11.84 kB / 0.8814 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.0047, allocations: 23.38 kB / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.004797, allocations: 492.1 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.004811, allocations: 7.984 kB / 0.8819 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/0.004824, allocations: 12 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.00486, allocations: 27.81 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004861, allocations: 0 / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.461e-05/0.004916, allocations: 49.69 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.004926, allocations: 8 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00493, allocations: 3.938 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.004943, allocations: 0 / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.004975, allocations: 4 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00498, allocations: 0 / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.004998, allocations: 11.92 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.005002, allocations: 4 kB / 0.882 GB, free: 2.16 MB / 0.8386 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.655e-05/0.005058, allocations: 160.6 kB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-06/0.005065, allocations: 7.938 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.005089, allocations: 7.531 kB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.00509, allocations: 0 / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005094, allocations: 0 / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.005097, allocations: 3.938 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.156e-05/0.005168, allocations: 112.6 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.00517, allocations: 3.984 kB / 0.8823 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.0052, allocations: 8 kB / 0.8823 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005202, allocations: 0 / 0.8823 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.005208, allocations: 0 / 0.8823 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005209, allocations: 4 kB / 0.8823 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00521, allocations: 0 / 0.8823 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.005314, allocations: 104.6 kB / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.005349, allocations: 4 kB / 0.8824 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.00536, allocations: 3.984 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.005396, allocations: 0 / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.005414, allocations: 4 kB / 0.8824 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.005417, allocations: 0 / 0.8824 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.005445, allocations: 119.2 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005445, allocations: 0 / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001203/0.005566, allocations: 15.94 kB / 0.8826 GB, free: 1.539 MB / 0.8386 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 5.984e-05/0.005625, allocations: 95.34 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.005702, allocations: 35.61 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005703, allocations: 0 / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.00572, allocations: 23.67 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.005865, allocations: 11.98 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.006261, allocations: 134.5 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.006288, allocations: 54.11 kB / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.154e-05/0.00632, allocations: 8 kB / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.006344, allocations: 12.44 kB / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.006344, allocations: 0 / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of Templates: time 0.001809/0.008153, allocations: 0.6 MB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.453770326916128]