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.00165/0.00165, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002267/0.002267, allocations: 217.1 kB / 23.04 MB, free: 4.867 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002008/0.002008, allocations: 72.25 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3774, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002847/0.3802, allocations: 1.501 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3816, allocations: 0.7477 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.3816, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.3817, allocations: 7.922 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.3817, allocations: 3.938 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.3822, allocations: 139.4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.3823, allocations: 51.84 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3824, allocations: 15.92 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.3825, allocations: 23.92 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.3825, allocations: 19.92 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3826, allocations: 7.938 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.3829, allocations: 167.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.3829, allocations: 7.984 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.383, allocations: 11.94 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.3832, allocations: 151.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3832, allocations: 3.984 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3832, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3832, allocations: 0 / 1.33 GB, free: 14.1 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.0005654/0.3838, allocations: 333.8 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3839, allocations: 11.97 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3839, allocations: 8.891 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.384, allocations: 110.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.384, allocations: 384 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.384, allocations: 8.312 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3843, allocations: 82.19 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3843, allocations: 192 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3843, allocations: 7.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3843, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.3846, allocations: 75.84 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.3849, allocations: 212.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3851, allocations: 62.47 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3853, allocations: 40.91 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.3854, allocations: 15.98 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.3855, allocations: 38.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3855, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000538/0.386, allocations: 129.5 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3861, allocations: 51.41 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3862, allocations: 109.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3862, allocations: 25.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.3862, allocations: 92.12 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3863, allocations: 11.91 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.3863, allocations: 13.72 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3865, allocations: 318.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3866, allocations: 35.97 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3867, allocations: 36.08 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.387, allocations: 68.88 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.387, allocations: 3.938 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003266/0.3873, allocations: 101.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3874, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3874, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3874, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3875, allocations: 11.98 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3875, allocations: 3.938 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.3876, allocations: 11.98 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3876, allocations: 8 kB / 1.332 GB, free: 11.92 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 9.507e-05/0.3877, allocations: 126.6 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3877, allocations: 7.953 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3881, allocations: 105.6 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3881, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3881, allocations: 3.938 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3881, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.3882, allocations: 117.2 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3882, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.3883, allocations: 15.98 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3883, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3883, allocations: 3.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3883, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3883, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3887, allocations: 207.3 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.3887, allocations: 3.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3887, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3888, allocations: 11.97 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.3889, allocations: 8 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3889, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.3889, allocations: 91.27 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3889, allocations: 0 / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002778/0.3892, allocations: 31.88 kB / 1.333 GB, free: 11.12 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.0002016/0.3894, allocations: 135.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3897, allocations: 71.86 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3897, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3899, allocations: 31.97 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3902, allocations: 23.86 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.3905, allocations: 175.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.203e-05/0.3906, allocations: 63.34 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3906, allocations: 11.77 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3906, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of Templates: time 0.002958/0.3936, allocations: 1.252 MB / 1.334 GB, free: 9.312 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.510197481140494]