Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.4 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 443.4 MB / 0.7304 GB, free: 14.1 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 71.89 kB / 1.059 GB, free: 456 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3461, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003011/0.3491, allocations: 1.513 MB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3506, allocations: 0.8232 MB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.3506, allocations: 4 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.3506, allocations: 7.922 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.3507, allocations: 7.875 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.3512, allocations: 131.4 kB / 1.219 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3513, allocations: 59.72 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3514, allocations: 11.94 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.3515, allocations: 23.92 kB / 1.219 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.3515, allocations: 19.92 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3515, allocations: 4 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.3519, allocations: 179.8 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.3519, allocations: 7.938 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.352, allocations: 23.92 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.3523, allocations: 147.5 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3523, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3523, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3523, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 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.0007023/0.353, allocations: 395 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.353, allocations: 15.97 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.3531, allocations: 8.828 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3532, allocations: 180.2 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3533, allocations: 4.375 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3533, allocations: 8.312 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.3536, allocations: 70.22 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3536, allocations: 4.188 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3536, allocations: 3.938 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3536, allocations: 0 / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.3539, allocations: 67.92 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.3543, allocations: 284.8 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3546, allocations: 66.47 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3547, allocations: 32.92 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.3549, allocations: 89.09 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3549, allocations: 34.56 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3549, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000541/0.3555, allocations: 129.5 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3555, allocations: 51.41 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3556, allocations: 117.8 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3556, allocations: 29.7 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.3557, allocations: 96.08 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3557, allocations: 11.89 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3558, allocations: 13.72 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3559, allocations: 322.8 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.3561, allocations: 27.97 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3562, allocations: 35.97 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.3564, allocations: 68.78 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3565, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.3568, allocations: 109.5 kB / 1.221 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3568, allocations: 4 kB / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3568, allocations: 0 / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3568, allocations: 0 / 1.221 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3569, allocations: 15.98 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3569, allocations: 3.938 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.357, allocations: 11.98 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.357, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 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 9.412e-05/0.3571, allocations: 121.8 kB / 1.221 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3571, allocations: 7.938 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.3575, allocations: 109.8 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3575, allocations: 3.984 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3575, allocations: 7.984 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3575, allocations: 0 / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3577, allocations: 173.6 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3577, allocations: 3.984 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.829e-05/0.3578, allocations: 15.98 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3578, allocations: 0 / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3578, allocations: 0 / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3578, allocations: 0 / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3578, allocations: 0 / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.3581, allocations: 199.4 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3582, allocations: 85.06 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3582, allocations: 0 / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3583, allocations: 11.98 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.3584, allocations: 3.984 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3584, allocations: 4 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.696e-05/0.3584, allocations: 91.22 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3584, allocations: 4 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000285/0.3587, allocations: 39.86 kB / 1.222 GB, free: 8.945 MB / 0.9669 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.0002435/0.359, allocations: 127.2 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.3593, allocations: 67.92 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3593, allocations: 4 kB / 1.222 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3594, allocations: 39.89 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3598, allocations: 12.92 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.3602, allocations: 162.9 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3605, allocations: 0.6846 MB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.3605, allocations: 7.969 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.3605, allocations: 11.44 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3605, allocations: 0 / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of Templates: time 0.004259/0.3648, allocations: 1.384 MB / 1.224 GB, free: 6.406 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.065069678239524]