Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001812/0.001812, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.002283/0.002283, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [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.002105/0.002105, allocations: 71.83 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00295/0.3004, allocations: 1.629 MB / 1.119 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.6976/0.998, allocations: 133.2 MB / 1.249 GB, free: 5.164 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.9981, allocations: 6.156 kB / 1.249 GB, free: 5.16 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.9983, allocations: 21 kB / 1.249 GB, free: 5.145 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.9985, allocations: 43.38 kB / 1.249 GB, free: 5.117 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.9989, allocations: 146.2 kB / 1.249 GB, free: 5.047 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.9991, allocations: 122.9 kB / 1.249 GB, free: 4.988 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.9992, allocations: 20.75 kB / 1.249 GB, free: 4.977 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/1.001, allocations: 176.5 kB / 1.25 GB, free: 4.934 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/1.001, allocations: 41.83 kB / 1.25 GB, free: 4.914 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/1.001, allocations: 7.062 kB / 1.25 GB, free: 4.914 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/1.001, allocations: 176.2 kB / 1.25 GB, free: 4.867 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/1.001, allocations: 20.72 kB / 1.25 GB, free: 4.855 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 5.646e-05/1.001, allocations: 36.94 kB / 1.25 GB, free: 4.836 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/1.002, allocations: 200 kB / 1.25 GB, free: 4.766 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.002, allocations: 0 / 1.25 GB, free: 4.766 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.283e-06/1.002, allocations: 1.5 kB / 1.25 GB, free: 4.766 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.002, allocations: 3.047 kB / 1.25 GB, free: 4.766 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006539/1.002, allocations: 372.4 kB / 1.25 GB, free: 4.441 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/1.002, allocations: 9.719 kB / 1.25 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/1.003, allocations: 95.88 kB / 1.251 GB, free: 4.422 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/1.004, allocations: 148.5 kB / 1.251 GB, free: 4.273 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/1.004, allocations: 9.938 kB / 1.251 GB, free: 4.27 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/1.004, allocations: 8.344 kB / 1.251 GB, free: 4.266 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/1.004, allocations: 131.6 kB / 1.251 GB, free: 4.215 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.004, allocations: 4.797 kB / 1.251 GB, free: 4.211 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/1.004, allocations: 4 kB / 1.251 GB, free: 4.207 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.004, allocations: 6.156 kB / 1.251 GB, free: 4.203 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/1.005, allocations: 134.9 kB / 1.251 GB, free: 4.176 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/1.005, allocations: 330.1 kB / 1.251 GB, free: 3.918 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/1.006, allocations: 170.9 kB / 1.251 GB, free: 3.855 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/1.006, allocations: 73.28 kB / 1.251 GB, free: 3.832 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/1.006, allocations: 1.312 kB / 1.251 GB, free: 3.832 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.006, allocations: 32.59 kB / 1.252 GB, free: 3.793 MB / 1.107 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/1.006, allocations: 4 kB / 1.252 GB, free: 3.789 MB / 1.107 GB Notification: Performance of matching and sorting (n=8): time 0.0008222/1.007, allocations: 218.4 kB / 1.252 GB, free: 3.711 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.007, allocations: 60.69 kB / 1.252 GB, free: 3.641 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.007, allocations: 131.9 kB / 1.252 GB, free: 3.535 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/1.007, allocations: 30.83 kB / 1.252 GB, free: 3.5 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/1.007, allocations: 105.1 kB / 1.252 GB, free: 3.402 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/1.008, allocations: 25.55 kB / 1.252 GB, free: 3.383 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/1.008, allocations: 23.38 kB / 1.252 GB, free: 3.363 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.008, allocations: 321.2 kB / 1.252 GB, free: 3.047 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/1.008, allocations: 54.12 kB / 1.252 GB, free: 3.035 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/1.008, allocations: 141 kB / 1.253 GB, free: 2.926 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/1.009, allocations: 120.6 kB / 1.253 GB, free: 2.891 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.009, allocations: 3.938 kB / 1.253 GB, free: 2.887 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000516/1.009, allocations: 162.2 kB / 1.253 GB, free: 2.82 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/1.009, allocations: 5.5 kB / 1.253 GB, free: 2.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/1.009, allocations: 3.125 kB / 1.253 GB, free: 2.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.009, allocations: 1.375 kB / 1.253 GB, free: 2.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.009, allocations: 35.25 kB / 1.253 GB, free: 2.812 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/1.009, allocations: 1.375 kB / 1.253 GB, free: 2.812 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.01, allocations: 19.19 kB / 1.253 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/1.01, allocations: 2.406 kB / 1.253 GB, free: 2.809 MB / 1.107 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 (8): * Single equations (assignments): 8 * 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.0001039/1.01, allocations: 120.1 kB / 1.253 GB, free: 2.688 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/1.01, allocations: 12.64 kB / 1.253 GB, free: 2.68 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/1.01, allocations: 12.8 kB / 1.253 GB, free: 2.672 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.01, allocations: 5.891 kB / 1.253 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.01, allocations: 0 / 1.253 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.01, allocations: 2.125 kB / 1.253 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/1.011, allocations: 396.6 kB / 1.253 GB, free: 2.383 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.011, allocations: 4 kB / 1.253 GB, free: 2.379 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/1.011, allocations: 31.59 kB / 1.253 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.011, allocations: 0 / 1.253 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.011, allocations: 2.547 kB / 1.253 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.011, allocations: 1.375 kB / 1.253 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.011, allocations: 0.6562 kB / 1.253 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/1.011, allocations: 263.8 kB / 1.254 GB, free: 2.203 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/1.011, allocations: 6.703 kB / 1.254 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.011, allocations: 1.938 kB / 1.254 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.012, allocations: 13.83 kB / 1.254 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/1.012, allocations: 10.83 kB / 1.254 GB, free: 2.195 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.012, allocations: 2.641 kB / 1.254 GB, free: 2.195 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.953e-05/1.012, allocations: 103.7 kB / 1.254 GB, free: 2.113 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 1.254 GB, free: 2.113 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002799/1.012, allocations: 40.27 kB / 1.254 GB, free: 2.098 MB / 1.107 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 (8): * Single equations (assignments): 8 * 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.0001576/1.012, allocations: 112.2 kB / 1.254 GB, free: 2.004 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005316/1.013, allocations: 124.8 kB / 1.254 GB, free: 1.98 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.013, allocations: 4 kB / 1.254 GB, free: 1.977 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/1.013, allocations: 62.16 kB / 1.254 GB, free: 1.965 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/1.013, allocations: 38.91 kB / 1.254 GB, free: 1.953 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/1.014, allocations: 244.5 kB / 1.254 GB, free: 1.781 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.284e-05/1.014, allocations: 92.55 kB / 1.255 GB, free: 1.703 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001178/1.014, allocations: 25.44 kB / 1.255 GB, free: 1.695 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/1.014, allocations: 17.53 kB / 1.255 GB, free: 1.688 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/1.014, allocations: 0 / 1.255 GB, free: 1.688 MB / 1.107 GB Notification: Performance of Templates: time 0.005187/1.019, allocations: 1.956 MB / 1.257 GB, free: 1.484 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.573505108011886]