Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.0009566/0.0009566, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001017/0.001017, allocations: 161 kB / 24.17 MB, free: 332 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.8997/0.8997, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.528e-05, allocations: 5.406 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001664/0.001679, allocations: 1.541 MB / 0.7615 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.002526, allocations: 0.8233 MB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.002554, allocations: 4.688 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.002578, allocations: 3.938 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.002623, allocations: 13.92 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.002957, allocations: 138 kB / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.003021, allocations: 56.34 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.495e-05/0.003086, allocations: 13.77 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.003136, allocations: 23.97 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.00317, allocations: 19.92 kB / 0.7626 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.003182, allocations: 4 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.003387, allocations: 163.7 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.003403, allocations: 12.95 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.003423, allocations: 19.98 kB / 0.7628 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.003604, allocations: 155.5 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003606, allocations: 2.062 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003606, allocations: 4 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.726e-06/0.003609, allocations: 0 / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002716/0.003881, allocations: 292.5 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.003907, allocations: 8.781 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.003928, allocations: 4.938 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.66e-05/0.003995, allocations: 118.2 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.004003, allocations: 384 / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.004012, allocations: 6.516 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.004107, allocations: 70.88 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.004113, allocations: 192 / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.004119, allocations: 384 / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004123, allocations: 4.375 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.004145, allocations: 13.42 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.004323, allocations: 164.2 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.828e-05/0.004371, allocations: 30.58 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.004391, allocations: 10.11 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.251e-05/0.004473, allocations: 12.08 kB / 0.7636 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.004491, allocations: 31.5 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004492, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.207e-05/0.004584, allocations: 53.56 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.00461, allocations: 56.42 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.004658, allocations: 114.7 kB / 0.7639 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004667, allocations: 26.39 kB / 0.7639 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.004694, allocations: 92.03 kB / 0.764 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.004707, allocations: 6.359 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.004729, allocations: 21.7 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.004788, allocations: 314.8 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.004798, allocations: 4 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.004807, allocations: 4 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.00483, allocations: 16.84 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004832, allocations: 0 / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.854e-05/0.00487, allocations: 48.31 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.004879, allocations: 8 kB / 0.7644 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.004883, allocations: 3.938 kB / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.004893, allocations: 0 / 0.7644 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.004941, allocations: 11.98 kB / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.004943, allocations: 0 / 0.7644 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.004962, allocations: 5.25 kB / 0.7644 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.004967, allocations: 0 / 0.7644 GB, free: 2.039 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 4.143e-05/0.005008, allocations: 109.8 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.005021, allocations: 8.922 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.005081, allocations: 49.89 kB / 0.7646 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005083, allocations: 4 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.005084, allocations: 0.9375 kB / 0.7646 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.005088, allocations: 4.031 kB / 0.7646 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.39e-05/0.005162, allocations: 78.62 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005162, allocations: 0 / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.005186, allocations: 12.48 kB / 0.7646 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.005187, allocations: 3.438 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.00519, allocations: 0 / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005191, allocations: 0 / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.005192, allocations: 3.938 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.965e-05/0.005252, allocations: 135.5 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.005259, allocations: 11.94 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-06/0.005267, allocations: 0 / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.005306, allocations: 4 kB / 0.7648 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.005335, allocations: 15.86 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005337, allocations: 6.562 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.119e-05/0.005349, allocations: 12.84 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005349, allocations: 0 / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001449/0.005494, allocations: 35.88 kB / 0.7649 GB, free: 1.504 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0001238/0.005617, allocations: 120.2 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.816e-05/0.005666, allocations: 13.61 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.005668, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-05/0.005683, allocations: 14.08 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.005798, allocations: 19.98 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.006215, allocations: 148 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.006242, allocations: 55.36 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.006265, allocations: 13.56 kB / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.006308, allocations: 55.38 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.006308, allocations: 0 / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.002554/0.008863, allocations: 1.471 MB / 0.7667 GB, free: 15.64 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.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.582699120044708]