Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001769/0.001769, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002195/0.002195, allocations: 218.5 kB / 23 MB, free: 4.914 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.281/3.281, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002168/0.002168, allocations: 67.94 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002701/0.3461, allocations: 1.506 MB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3474, allocations: 0.741 MB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.3474, allocations: 4 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.3474, allocations: 11.92 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.3475, allocations: 7.875 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.3479, allocations: 131.4 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.578e-05/0.348, allocations: 55.78 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.3481, allocations: 15.92 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.3482, allocations: 23.92 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.3482, allocations: 15.92 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3482, allocations: 8 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.3485, allocations: 167.7 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.3486, allocations: 11.98 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.3486, allocations: 15.88 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.3489, allocations: 155.5 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3489, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3489, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.3489, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 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.0006016/0.3495, allocations: 327.2 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3495, allocations: 12.03 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3496, allocations: 4.938 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3497, allocations: 114.4 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3497, allocations: 384 / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3498, allocations: 4.375 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.35, allocations: 78.14 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.35, allocations: 192 / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3501, allocations: 7.938 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3501, allocations: 0 / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.3504, allocations: 75.91 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.3507, allocations: 224.4 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3509, allocations: 54.48 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.3511, allocations: 40.91 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.3512, allocations: 15.98 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3513, allocations: 34.56 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 3.025e-06/0.3513, allocations: 3.984 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005492/0.3518, allocations: 129.5 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3519, allocations: 55.41 kB / 1.369 GB, free: 9.488 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.352, allocations: 113.8 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.352, allocations: 25.7 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.3521, allocations: 96.08 kB / 1.369 GB, free: 9.238 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.3521, allocations: 7.953 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.3521, allocations: 13.72 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3523, allocations: 318.8 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3524, allocations: 23.97 kB / 1.369 GB, free: 8.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3525, allocations: 39.95 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3528, allocations: 68.73 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3528, allocations: 3.938 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.3532, allocations: 109.6 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3532, allocations: 4 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3532, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3532, allocations: 0 / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3533, allocations: 15.98 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3533, allocations: 3.984 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.3534, allocations: 11.98 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3534, allocations: 0 / 1.369 GB, free: 8.605 MB / 1.061 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.32e-05/0.3535, allocations: 121.8 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.3535, allocations: 4.375 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.3539, allocations: 109.5 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3539, allocations: 0 / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3539, allocations: 4 kB / 1.37 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3539, allocations: 3.938 kB / 1.37 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3541, allocations: 117.2 kB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3541, allocations: 4 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.3542, allocations: 15.98 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3542, allocations: 7.984 kB / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3542, allocations: 0 / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3542, allocations: 0 / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3542, allocations: 0 / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.3546, allocations: 199.4 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.3546, allocations: 7.891 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3546, allocations: 4 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3547, allocations: 15.97 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.3547, allocations: 432 / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3547, allocations: 11.94 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.3548, allocations: 83.27 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3548, allocations: 4 kB / 1.37 GB, free: 7.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002845/0.3551, allocations: 31.88 kB / 1.37 GB, free: 7.801 MB / 1.061 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.0002279/0.3553, allocations: 131.2 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.3557, allocations: 71.92 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3557, allocations: 3.938 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3558, allocations: 40.03 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3561, allocations: 13.66 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.3565, allocations: 177.1 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.358e-05/0.3566, allocations: 67.34 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.3566, allocations: 7.438 kB / 1.371 GB, free: 7.242 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3566, allocations: 4 kB / 1.371 GB, free: 7.238 MB / 1.061 GB Notification: Performance of Templates: time 0.003179/0.3598, allocations: 1.244 MB / 1.372 GB, free: 6.004 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.249375747982413]