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.001636/0.001636, allocations: 110.1 kB / 19.7 MB, free: 2.262 MB / 14.72 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.002425/0.002425, allocations: 211.1 kB / 23 MB, free: 5.113 MB / 14.72 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.316/3.316, allocations: 0.49 GB / 0.7958 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 72.88 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 176.1 MB / 1.327 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002832/0.3509, allocations: 1.532 MB / 1.329 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3523, allocations: 0.8177 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.3523, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.3524, allocations: 3.938 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.3524, allocations: 7.875 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.3529, allocations: 135.4 kB / 1.33 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.353, allocations: 55.83 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3531, allocations: 15.94 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.3531, allocations: 23.92 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.3532, allocations: 19.86 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3532, allocations: 8 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.3536, allocations: 179.7 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3536, allocations: 11.98 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.3536, allocations: 23.86 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3539, allocations: 151.5 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3539, allocations: 0 / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3539, allocations: 0 / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3539, allocations: 0 / 1.33 GB, free: 14.63 MB / 1.029 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.0005737/0.3545, allocations: 325.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3545, allocations: 12.03 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3546, allocations: 8.828 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3547, allocations: 110.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3547, allocations: 12.31 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3547, allocations: 4.359 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.355, allocations: 74.2 kB / 1.331 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.355, allocations: 192 / 1.331 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.355, allocations: 7.938 kB / 1.331 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.355, allocations: 4 kB / 1.331 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3553, allocations: 71.84 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.3557, allocations: 255.8 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3559, allocations: 58.55 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.356, allocations: 40.91 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.3562, allocations: 15.92 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3562, allocations: 34.5 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3562, allocations: 4 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005308/0.3568, allocations: 129.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3568, allocations: 51.41 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3569, allocations: 117.8 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3569, allocations: 25.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.357, allocations: 92.14 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.357, allocations: 11.91 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.357, allocations: 17.7 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3572, allocations: 318.8 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3573, allocations: 31.97 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3575, allocations: 35.95 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.3577, allocations: 72.72 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3577, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003054/0.358, allocations: 93.62 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3581, allocations: 12 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3581, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3581, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3582, allocations: 11.98 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3582, allocations: 4 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.3583, allocations: 15.92 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3583, allocations: 4 kB / 1.332 GB, free: 12.4 MB / 1.029 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.0001011/0.3584, allocations: 118.3 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.3584, allocations: 4 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.3588, allocations: 109.5 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3588, allocations: 384 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3588, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3588, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.359, allocations: 144.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.359, allocations: 8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.3591, allocations: 15.97 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3591, allocations: 3.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3591, allocations: 7.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3591, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3591, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.3595, allocations: 207.3 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3595, allocations: 7.953 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3595, allocations: 0 / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3596, allocations: 7.984 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.3596, allocations: 7.984 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3596, allocations: 0 / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.3597, allocations: 99.64 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3597, allocations: 8 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002712/0.36, allocations: 27.88 kB / 1.333 GB, free: 11.55 MB / 1.029 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.0002326/0.3602, allocations: 135.2 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003335/0.3606, allocations: 63.92 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3606, allocations: 7.938 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3607, allocations: 31.97 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.361, allocations: 21.17 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3614, allocations: 177.1 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3618, allocations: 0.6846 MB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.3618, allocations: 11.44 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3618, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Templates: time 0.003078/0.3649, allocations: 1.259 MB / 1.335 GB, free: 9.102 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.506727693980793]