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.001846/0.001846, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.00192/0.00192, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.011/3.011, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.167e-05, allocations: 3.625 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00347/0.003501, allocations: 1.514 MB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.00518, allocations: 0.8075 MB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.005231, allocations: 0 / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.005263, allocations: 3.938 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.005338, allocations: 15.8 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.00597, allocations: 136.7 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.006095, allocations: 51.8 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.006204, allocations: 13.58 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.006299, allocations: 27.92 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.006358, allocations: 23.95 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.006383, allocations: 4 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004172/0.0068, allocations: 163.7 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.006825, allocations: 8.469 kB / 0.8135 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.006865, allocations: 16.61 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.007427, allocations: 167.5 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007431, allocations: 0.5312 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.007433, allocations: 1.281 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.007438, allocations: 0 / 0.8137 GB, free: 15.19 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.0006671/0.008105, allocations: 423.8 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.00815, allocations: 8.562 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.008205, allocations: 6.312 kB / 0.8141 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.008371, allocations: 124.4 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.008392, allocations: 8.375 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.008404, allocations: 384 / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.00863, allocations: 71.31 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.00864, allocations: 192 / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.008649, allocations: 384 / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.008655, allocations: 1.469 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.008847, allocations: 48.94 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.009328, allocations: 279.7 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.00951, allocations: 55.95 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.009612, allocations: 28.95 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.009779, allocations: 11.98 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.009824, allocations: 42.67 kB / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.009825, allocations: 0 / 0.8147 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004403/0.01027, allocations: 99.11 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.01032, allocations: 55.41 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.01047, allocations: 173.9 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01049, allocations: 25.7 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.01059, allocations: 141.6 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.01062, allocations: 11.88 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.01067, allocations: 23.38 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002677/0.01094, allocations: 496.1 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/0.01103, allocations: 19.98 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-05/0.01111, allocations: 19.98 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.0113, allocations: 52.62 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.0113, allocations: 1.938 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002408/0.01154, allocations: 85.55 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01156, allocations: 4 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01156, allocations: 0 / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.01158, allocations: 2.016 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.01167, allocations: 11.98 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01168, allocations: 4 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.01173, allocations: 4 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.01173, allocations: 0.9062 kB / 0.8159 GB, free: 12.7 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 0.000124/0.01186, allocations: 164.6 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.01189, allocations: 12.72 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.01218, allocations: 90.44 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01218, allocations: 0 / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01219, allocations: 1.281 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.01219, allocations: 3.938 kB / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.01237, allocations: 132.7 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01237, allocations: 0.8438 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.01244, allocations: 11.98 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01245, allocations: 6.812 kB / 0.8163 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01246, allocations: 3.938 kB / 0.8163 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01246, allocations: 0 / 0.8163 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01246, allocations: 0 / 0.8163 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.0128, allocations: 223.8 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01281, allocations: 7.953 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.01283, allocations: 7.938 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.01291, allocations: 14.7 kB / 0.8166 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.01296, allocations: 4 kB / 0.8166 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.01296, allocations: 0 / 0.8166 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001013/0.01306, allocations: 135.2 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01306, allocations: 0 / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002823/0.01335, allocations: 35.88 kB / 0.8167 GB, free: 11.8 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.0002644/0.01361, allocations: 132 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.01387, allocations: 56.7 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01387, allocations: 1.094 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.014, allocations: 35.61 kB / 0.8169 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01425, allocations: 14.61 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.01489, allocations: 151.1 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.01498, allocations: 67.2 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.01502, allocations: 9.797 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01506, allocations: 12.5 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01506, allocations: 4 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.005035/0.02009, allocations: 1.42 MB / 0.8186 GB, free: 9.875 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.105793131049722]