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.001405/0.001405, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001483/0.001483, allocations: 169 kB / 24.28 MB, free: 276 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.9852/0.9852, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.848/1.848, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.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.223e-06/1.223e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.741e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00172/0.001738, allocations: 1.54 MB / 0.813 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.002611, allocations: 0.8011 MB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.002646, allocations: 1.594 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.002673, allocations: 7.938 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.002718, allocations: 15.84 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.003075, allocations: 136.5 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.003147, allocations: 47.8 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.003231, allocations: 17.62 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.003284, allocations: 31.86 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.003322, allocations: 23.97 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003335, allocations: 4 kB / 0.8141 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.003554, allocations: 164.3 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.003569, allocations: 11.98 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.003591, allocations: 13.09 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.0038, allocations: 155.6 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003802, allocations: 0 / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003802, allocations: 1.156 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003806, allocations: 0 / 0.8144 GB, free: 15.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006228/0.004429, allocations: 421.5 kB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.004462, allocations: 8.031 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.004498, allocations: 4.938 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.55e-05/0.004583, allocations: 124.4 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.004596, allocations: 6.125 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.004605, allocations: 4.375 kB / 0.8149 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.004733, allocations: 70.92 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.004739, allocations: 192 / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004748, allocations: 2.219 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.004757, allocations: 384 / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.004796, allocations: 15.92 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.005072, allocations: 275.7 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.005135, allocations: 31.84 kB / 0.8153 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.005159, allocations: 15.69 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.005265, allocations: 14.45 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.005285, allocations: 41.27 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.005286, allocations: 3.938 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001472/0.005433, allocations: 53.83 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.005462, allocations: 51.41 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.005532, allocations: 171.9 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.00554, allocations: 25.7 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.005584, allocations: 138.8 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.0056, allocations: 3.953 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.005626, allocations: 23.38 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.005732, allocations: 0.4889 MB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.005749, allocations: 0 / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.005765, allocations: 17.83 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.005797, allocations: 11.69 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.005798, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.114e-05/0.005859, allocations: 53.58 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.005872, allocations: 8 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.005877, allocations: 2.469 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005889, allocations: 0 / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.005947, allocations: 11.98 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.005952, allocations: 3.984 kB / 0.8164 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.005976, allocations: 7.984 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.005981, allocations: 0 / 0.8164 GB, free: 12.86 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 (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.635e-05/0.006048, allocations: 165.7 kB / 0.8166 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.006063, allocations: 7.891 kB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/0.006146, allocations: 50.31 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006148, allocations: 0 / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.00615, allocations: 0.7188 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.006156, allocations: 7.984 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.376e-05/0.00625, allocations: 121.5 kB / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006251, allocations: 0 / 0.8168 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.006279, allocations: 11.62 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006281, allocations: 4 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.006291, allocations: 11.92 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006292, allocations: 0 / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006293, allocations: 0 / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.006385, allocations: 191.9 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.006394, allocations: 15.89 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006405, allocations: 3.938 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.00644, allocations: 4 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.006479, allocations: 6.047 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006482, allocations: 4 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.006517, allocations: 131.2 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006517, allocations: 0 / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000181/0.006698, allocations: 35.88 kB / 0.8172 GB, free: 12.04 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 (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.0001544/0.006853, allocations: 138.6 kB / 0.8173 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.006934, allocations: 20.75 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006936, allocations: 0 / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.006959, allocations: 20 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.007132, allocations: 9.094 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.007382, allocations: 148.2 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.007419, allocations: 63.2 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.007443, allocations: 9.734 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.007468, allocations: 12.5 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.007469, allocations: 0 / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.003167/0.01064, allocations: 1.429 MB / 0.819 GB, free: 10.18 MB / 0.7761 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: 5.040667216992006]