Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001688/0.001688, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001931/0.001931, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.375/3.375, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_12_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_12_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.002876/0.002876, allocations: 72.23 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3457, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002908/0.3486, allocations: 1.678 MB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1822/0.5308, allocations: 154.9 MB / 1.48 GB, free: 4.266 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.5309, allocations: 3.938 kB / 1.48 GB, free: 4.262 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.531, allocations: 19.86 kB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.5313, allocations: 43.66 kB / 1.48 GB, free: 4.199 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.5317, allocations: 147.4 kB / 1.48 GB, free: 4.055 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.5319, allocations: 123.5 kB / 1.48 GB, free: 3.934 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.532, allocations: 21.53 kB / 1.48 GB, free: 3.906 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.5334, allocations: 187.7 kB / 1.481 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.5334, allocations: 39.84 kB / 1.481 GB, free: 3.707 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.5335, allocations: 4 kB / 1.481 GB, free: 3.703 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.5339, allocations: 191.6 kB / 1.481 GB, free: 3.516 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.5339, allocations: 23.86 kB / 1.481 GB, free: 3.492 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.534, allocations: 43.8 kB / 1.481 GB, free: 3.449 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.5343, allocations: 203.3 kB / 1.481 GB, free: 3.25 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5343, allocations: 0 / 1.481 GB, free: 3.25 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5343, allocations: 3.938 kB / 1.481 GB, free: 3.246 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.5343, allocations: 0 / 1.481 GB, free: 3.246 MB / 1.17 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.0006346/0.535, allocations: 377.5 kB / 1.481 GB, free: 2.848 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.535, allocations: 12.03 kB / 1.481 GB, free: 2.836 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.536, allocations: 91.92 kB / 1.482 GB, free: 2.746 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.5362, allocations: 141 kB / 1.482 GB, free: 2.582 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5362, allocations: 4 kB / 1.482 GB, free: 2.578 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.5362, allocations: 8 kB / 1.482 GB, free: 2.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.5366, allocations: 137.5 kB / 1.482 GB, free: 2.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5367, allocations: 0 / 1.482 GB, free: 2.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.5367, allocations: 7.938 kB / 1.482 GB, free: 2.422 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.5367, allocations: 11.92 kB / 1.482 GB, free: 2.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.5372, allocations: 135.9 kB / 1.482 GB, free: 2.277 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.538, allocations: 379.5 kB / 1.482 GB, free: 1.863 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.5386, allocations: 170.6 kB / 1.482 GB, free: 1.688 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.5389, allocations: 76.8 kB / 1.483 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.5389, allocations: 0 / 1.483 GB, free: 1.609 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.5389, allocations: 42.44 kB / 1.483 GB, free: 1.559 MB / 1.17 GB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.5389, allocations: 0 / 1.483 GB, free: 1.559 MB / 1.17 GB Notification: Performance of matching and sorting (n=8): time 0.0007581/0.5397, allocations: 221.4 kB / 1.483 GB, free: 1.336 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5397, allocations: 51.41 kB / 1.483 GB, free: 1.273 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.5398, allocations: 144.1 kB / 1.483 GB, free: 1.125 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.5399, allocations: 33.7 kB / 1.483 GB, free: 1.086 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.54, allocations: 108.1 kB / 1.483 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.54, allocations: 27.89 kB / 1.483 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.54, allocations: 21.7 kB / 1.483 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5402, allocations: 326.8 kB / 1.483 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5404, allocations: 51.95 kB / 1.484 GB, free: 0.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.5406, allocations: 74.52 kB / 1.484 GB, free: 472 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.541, allocations: 120.8 kB / 1.484 GB, free: 348 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.541, allocations: 7.938 kB / 1.484 GB, free: 340 kB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004788/0.5415, allocations: 154 kB / 1.484 GB, free: 180 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.5415, allocations: 11.98 kB / 1.484 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5415, allocations: 0 / 1.484 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5415, allocations: 0 / 1.484 GB, free: 168 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.5417, allocations: 35.97 kB / 1.484 GB, free: 132 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.5417, allocations: 4.062 kB / 1.484 GB, free: 128 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.5419, allocations: 11.98 kB / 1.484 GB, free: 116 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.5419, allocations: 7.984 kB / 1.484 GB, free: 108 kB / 1.17 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.0001171/0.542, allocations: 126.2 kB / 1.484 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.5421, allocations: 11.91 kB / 1.484 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.664e-05/0.5421, allocations: 20.72 kB / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5421, allocations: 0 / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5421, allocations: 0 / 1.484 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5421, allocations: 3.984 kB / 1.484 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.5429, allocations: 429.5 kB / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.543, allocations: 0 / 1.484 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.5431, allocations: 31.95 kB / 1.485 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5431, allocations: 0 / 1.485 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5431, allocations: 7.938 kB / 1.485 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5432, allocations: 3.938 kB / 1.485 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5432, allocations: 0 / 1.485 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.5437, allocations: 263.3 kB / 1.485 GB, free: 15.15 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.5437, allocations: 7.953 kB / 1.485 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.5437, allocations: 0 / 1.485 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.5439, allocations: 23.91 kB / 1.485 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.5439, allocations: 15.92 kB / 1.485 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5439, allocations: 0 / 1.485 GB, free: 15.1 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.909e-05/0.544, allocations: 109.7 kB / 1.485 GB, free: 15 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.544, allocations: 0 / 1.485 GB, free: 15 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002624/0.5443, allocations: 35.92 kB / 1.485 GB, free: 14.96 MB / 1.186 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.0001639/0.5445, allocations: 107.1 kB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.545, allocations: 131.9 kB / 1.485 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.545, allocations: 0 / 1.485 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.5452, allocations: 67.88 kB / 1.485 GB, free: 14.65 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.5455, allocations: 38 kB / 1.485 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.5462, allocations: 268.8 kB / 1.486 GB, free: 14.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.5465, allocations: 0.7039 MB / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.5466, allocations: 11.44 kB / 1.486 GB, free: 13.58 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.5466, allocations: 4 kB / 1.486 GB, free: 13.57 MB / 1.186 GB Notification: Performance of Templates: time 0.003771/0.5503, allocations: 1.74 MB / 1.488 GB, free: 11.84 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.974756909999996]