Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001441/0.001441, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001245/0.001245, allocations: 173 kB / 24.28 MB, free: 272 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 1.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.81/1.81, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.872e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002227/0.002255, allocations: 1.538 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.003232, allocations: 0.8138 MB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.003272, allocations: 6.844 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.003301, allocations: 3.938 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.003346, allocations: 7.875 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.003734, allocations: 135.3 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.003811, allocations: 59.77 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.003906, allocations: 9.359 kB / 0.7896 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.00396, allocations: 27.98 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.004001, allocations: 23.91 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.004017, allocations: 4.594 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.004248, allocations: 163.7 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.004268, allocations: 8.875 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.004293, allocations: 11.98 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.004516, allocations: 160.2 kB / 0.79 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004519, allocations: 0 / 0.79 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.00452, allocations: 1.531 kB / 0.79 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004525, allocations: 0 / 0.79 GB, free: 9.867 MB / 0.7448 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.0003732/0.004898, allocations: 420.1 kB / 0.7904 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004934, allocations: 8.031 kB / 0.7904 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.004971, allocations: 6.156 kB / 0.7904 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.005058, allocations: 124.5 kB / 0.7905 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005071, allocations: 8.375 kB / 0.7905 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.005083, allocations: 4.875 kB / 0.7905 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005221, allocations: 73.34 kB / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.005228, allocations: 192 / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005238, allocations: 384 / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005244, allocations: 384 / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.005282, allocations: 15.92 kB / 0.7906 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.005572, allocations: 267.8 kB / 0.7909 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.191e-05/0.005644, allocations: 39.52 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.005671, allocations: 16.41 kB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.005783, allocations: 12.61 kB / 0.7909 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.005805, allocations: 38.95 kB / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.005806, allocations: 0 / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001615/0.005967, allocations: 57.8 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.005997, allocations: 51.41 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.006072, allocations: 170.5 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006085, allocations: 29.7 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.006134, allocations: 143.4 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.006155, allocations: 7.953 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.006187, allocations: 20.06 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.006293, allocations: 496.1 kB / 0.7919 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.006314, allocations: 8.891 kB / 0.7919 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.006329, allocations: 4 kB / 0.7919 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.006363, allocations: 13.06 kB / 0.7919 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.006366, allocations: 4 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.986e-05/0.006435, allocations: 53.52 kB / 0.792 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.006448, allocations: 8 kB / 0.792 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.006452, allocations: 5.75 kB / 0.792 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006463, allocations: 0 / 0.792 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.006528, allocations: 11.98 kB / 0.792 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006532, allocations: 0 / 0.792 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.006556, allocations: 5.156 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.006561, allocations: 0 / 0.792 GB, free: 7.59 MB / 0.7448 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 6.151e-05/0.006623, allocations: 161.1 kB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.006641, allocations: 11.89 kB / 0.7922 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.985e-05/0.00674, allocations: 54.11 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006742, allocations: 0.8438 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.006746, allocations: 0 / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006748, allocations: 0.8438 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.006843, allocations: 120.6 kB / 0.7923 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.006845, allocations: 4 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.006876, allocations: 13.7 kB / 0.7923 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.006878, allocations: 4 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.006885, allocations: 3.938 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006886, allocations: 0 / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006887, allocations: 0.8125 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.878e-05/0.006986, allocations: 187.9 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.006994, allocations: 10.2 kB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.007007, allocations: 11.92 kB / 0.7926 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.007043, allocations: 4 kB / 0.7926 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.007095, allocations: 15.92 kB / 0.7926 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.007099, allocations: 0 / 0.7926 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.007136, allocations: 123.2 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007136, allocations: 2.094 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001941/0.00733, allocations: 39.86 kB / 0.7927 GB, free: 6.773 MB / 0.7448 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.0001905/0.007521, allocations: 131.2 kB / 0.7929 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.914e-05/0.00761, allocations: 20.17 kB / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007612, allocations: 4.469 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.007639, allocations: 23.95 kB / 0.7929 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.007844, allocations: 9.891 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.008133, allocations: 154.7 kB / 0.7931 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.008168, allocations: 56.22 kB / 0.7931 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.145e-05/0.008189, allocations: 7.438 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.008216, allocations: 12.5 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.008216, allocations: 0 / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.003281/0.0115, allocations: 1.43 MB / 0.7945 GB, free: 4.906 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.157306066015735]