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.001586/0.001586, allocations: 83.59 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.001123/0.001123, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9502/0.9502, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.856/1.856, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.44e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001704/0.001728, allocations: 1.32 MB / 0.8128 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004432/0.002171, allocations: 292.2 kB / 0.8131 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.002198, allocations: 1.25 kB / 0.8131 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.002219, allocations: 0 / 0.8131 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.002265, allocations: 7.922 kB / 0.8131 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.002559, allocations: 58.12 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.002617, allocations: 19.91 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.002653, allocations: 0 / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.002706, allocations: 8 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.002751, allocations: 11.92 kB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.002765, allocations: 0.9062 kB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.154e-05/0.002856, allocations: 55.89 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.002869, allocations: 5.016 kB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.002886, allocations: 4 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.00301, allocations: 51.88 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003013, allocations: 1.438 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003014, allocations: 0 / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.003018, allocations: 4 kB / 0.8133 GB, free: 15.79 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.0003196/0.003338, allocations: 362.2 kB / 0.8137 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.003374, allocations: 8.031 kB / 0.8137 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.003543, allocations: 33.08 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.003862, allocations: 112.6 kB / 0.8138 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.003875, allocations: 9.969 kB / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.003884, allocations: 384 / 0.8138 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.003982, allocations: 63.95 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.00399, allocations: 192 / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.004, allocations: 5.375 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.004008, allocations: 4.375 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.00404, allocations: 15.92 kB / 0.8139 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.004157, allocations: 113.2 kB / 0.814 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/0.005059, allocations: 281.9 kB / 0.8143 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.005093, allocations: 19.67 kB / 0.8143 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.005101, allocations: 0.8438 kB / 0.8143 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.005127, allocations: 41.38 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.005128, allocations: 1.281 kB / 0.8143 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001374/0.005266, allocations: 57.69 kB / 0.8144 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.005294, allocations: 51.41 kB / 0.8145 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.005355, allocations: 162.7 kB / 0.8146 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.005367, allocations: 25.7 kB / 0.8146 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.005395, allocations: 131.8 kB / 0.8148 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.005423, allocations: 15.83 kB / 0.8148 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.00545, allocations: 24.88 kB / 0.8148 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.00556, allocations: 496.1 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.005576, allocations: 4 kB / 0.8153 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.005594, allocations: 7.984 kB / 0.8153 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.005634, allocations: 28.94 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005635, allocations: 0 / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.063e-05/0.005696, allocations: 53.69 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005709, allocations: 7.094 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.005713, allocations: 3.938 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.005726, allocations: 0 / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.005764, allocations: 8 kB / 0.8154 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.005772, allocations: 0 / 0.8154 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.005788, allocations: 3.938 kB / 0.8154 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.005792, allocations: 3.938 kB / 0.8154 GB, free: 13.48 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 6.589e-05/0.005858, allocations: 164.6 kB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.005866, allocations: 4.453 kB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.005891, allocations: 8.875 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005894, allocations: 4 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.005898, allocations: 0 / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.005902, allocations: 3.938 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.14e-05/0.005974, allocations: 113.7 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005975, allocations: 0 / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.005999, allocations: 7.984 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006001, allocations: 0.6562 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.006008, allocations: 4 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006009, allocations: 2.531 kB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006011, allocations: 0 / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.105e-05/0.006092, allocations: 96.31 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.006124, allocations: 0 / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.006133, allocations: 4 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.006158, allocations: 4 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.006173, allocations: 3.984 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.006177, allocations: 2.906 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.006206, allocations: 123.2 kB / 0.8159 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006206, allocations: 0 / 0.8159 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001153/0.006321, allocations: 7.938 kB / 0.8159 GB, free: 12.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 (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 7.305e-05/0.006394, allocations: 99.25 kB / 0.816 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.46e-05/0.006479, allocations: 32.92 kB / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006481, allocations: 0 / 0.816 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.006498, allocations: 27.75 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.006651, allocations: 17.05 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.007089, allocations: 132.6 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.007119, allocations: 59.34 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.007157, allocations: 7.531 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.007184, allocations: 12.44 kB / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.007184, allocations: 0.5 kB / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002182/0.009367, allocations: 0.6316 MB / 0.8169 GB, free: 11.84 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: 4.868486070074141]