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.001352/0.001352, 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.001204/0.001204, allocations: 165 kB / 24.17 MB, free: 336 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.9531/0.9531, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.963/1.963, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.984e-06/1.984e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.39e-05, allocations: 3.719 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002182/0.002206, allocations: 1.605 MB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.003202, allocations: 0.8114 MB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.003235, allocations: 1.344 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.003261, allocations: 3.938 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.003322, allocations: 20.39 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.003697, allocations: 126.6 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.813e-05/0.003775, allocations: 65.02 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.003856, allocations: 11.98 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.003921, allocations: 23.98 kB / 0.7626 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.00396, allocations: 20.84 kB / 0.7626 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.003974, allocations: 4 kB / 0.7627 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.004237, allocations: 172.2 kB / 0.7628 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.004254, allocations: 11.92 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.004273, allocations: 9.125 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.004501, allocations: 163.4 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004503, allocations: 0 / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004504, allocations: 0.8125 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.004509, allocations: 0 / 0.763 GB, free: 3.637 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.0003147/0.004824, allocations: 297.7 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.004858, allocations: 8.031 kB / 0.7633 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.004887, allocations: 8.938 kB / 0.7633 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.004971, allocations: 110.3 kB / 0.7634 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.004983, allocations: 9.109 kB / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.004989, allocations: 384 / 0.7634 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005107, allocations: 75.61 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.005113, allocations: 192 / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.00512, allocations: 2.25 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.005124, allocations: 384 / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.005149, allocations: 11.94 kB / 0.7635 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.005368, allocations: 160.2 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/0.005422, allocations: 35.12 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.005439, allocations: 6.203 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.005537, allocations: 16.08 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.005559, allocations: 30.56 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.00556, allocations: 3.25 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001085/0.005669, allocations: 49.56 kB / 0.7638 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.005695, allocations: 51.41 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.005752, allocations: 114.8 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.005762, allocations: 29.7 kB / 0.764 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.005796, allocations: 92.02 kB / 0.7641 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.005813, allocations: 11.94 kB / 0.7641 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.005838, allocations: 13.72 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.00591, allocations: 313.9 kB / 0.7644 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.005923, allocations: 7.984 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.005932, allocations: 3.938 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.005959, allocations: 16.84 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00596, allocations: 0 / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.34e-05/0.006014, allocations: 45.91 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006026, allocations: 8 kB / 0.7645 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.006033, allocations: 7.922 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.006043, allocations: 5.531 kB / 0.7645 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.006101, allocations: 8 kB / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006104, allocations: 0 / 0.7645 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.00613, allocations: 7.984 kB / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.006137, allocations: 1.406 kB / 0.7645 GB, free: 1.961 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 5.161e-05/0.006188, allocations: 109.8 kB / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.006203, allocations: 0 / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.006277, allocations: 58.83 kB / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006279, allocations: 0 / 0.7646 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.00628, allocations: 4 kB / 0.7647 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006282, allocations: 0.6562 kB / 0.7647 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.603e-05/0.006368, allocations: 77.88 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.006369, allocations: 0.625 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.006401, allocations: 12.64 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006402, allocations: 0 / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.006406, allocations: 1.312 kB / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006407, allocations: 0 / 0.7647 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.006409, allocations: 3.938 kB / 0.7647 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.606e-05/0.006485, allocations: 135.5 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006493, allocations: 10.39 kB / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.006502, allocations: 0 / 0.7649 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.006538, allocations: 7.984 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.006575, allocations: 15.86 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.006578, allocations: 0 / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.147e-05/0.00659, allocations: 12.86 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00659, allocations: 2.938 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001545/0.006744, allocations: 31.88 kB / 0.765 GB, free: 1.441 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.0001634/0.006908, allocations: 120.2 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.808e-05/0.006976, allocations: 20.84 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.006979, allocations: 0 / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.006997, allocations: 12.8 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.00715, allocations: 9.5 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.007377, allocations: 150.5 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.007409, allocations: 59.94 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.007431, allocations: 8.578 kB / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.007481, allocations: 64.02 kB / 0.7654 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.007482, allocations: 0.5625 kB / 0.7654 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of Templates: time 0.002992/0.01047, allocations: 1.471 MB / 0.7668 GB, free: 15.57 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 -s gbode -gbm=radauIIA3 -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: 5.043703774921596]