Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.00129/0.00129, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001404/0.001404, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [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.002009/0.002009, allocations: 74.17 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3694, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003629/0.3731, allocations: 1.867 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1926/0.5657, allocations: 136.7 MB / 1.462 GB, free: 5.867 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.5659, allocations: 4 kB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.5661, allocations: 31.72 kB / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.5664, allocations: 75.41 kB / 1.463 GB, free: 5.758 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.5672, allocations: 268.6 kB / 1.463 GB, free: 5.496 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003544/0.5675, allocations: 267.1 kB / 1.463 GB, free: 5.234 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.5677, allocations: 46.55 kB / 1.463 GB, free: 5.188 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.5693, allocations: 260.9 kB / 1.463 GB, free: 4.957 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.5695, allocations: 91.59 kB / 1.463 GB, free: 4.867 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.5695, allocations: 20 kB / 1.463 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.5699, allocations: 183.7 kB / 1.464 GB, free: 4.668 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.5699, allocations: 43.83 kB / 1.464 GB, free: 4.625 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.57, allocations: 79.64 kB / 1.464 GB, free: 4.547 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004631/0.5705, allocations: 298.8 kB / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5705, allocations: 0 / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5705, allocations: 3.938 kB / 1.464 GB, free: 4.25 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5705, allocations: 0 / 1.464 GB, free: 4.25 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001035/0.5715, allocations: 469.2 kB / 1.464 GB, free: 3.762 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5716, allocations: 8.031 kB / 1.464 GB, free: 3.754 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5728, allocations: 111.8 kB / 1.465 GB, free: 3.645 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.5732, allocations: 172.8 kB / 1.465 GB, free: 3.449 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.5733, allocations: 67.73 kB / 1.465 GB, free: 3.371 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.5733, allocations: 16 kB / 1.465 GB, free: 3.355 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.5739, allocations: 314 kB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5739, allocations: 0 / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.574, allocations: 12 kB / 1.465 GB, free: 2.996 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.574, allocations: 4 kB / 1.465 GB, free: 2.992 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.5745, allocations: 168.3 kB / 1.465 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.5763, allocations: 1.071 MB / 1.466 GB, free: 1.699 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.5771, allocations: 206.6 kB / 1.467 GB, free: 1.488 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.5773, allocations: 60.81 kB / 1.467 GB, free: 1.426 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.5773, allocations: 4 kB / 1.467 GB, free: 1.422 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.5774, allocations: 38.5 kB / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.5774, allocations: 4 kB / 1.467 GB, free: 1.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002926/0.5803, allocations: 490.7 kB / 1.467 GB, free: 0.8789 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.5804, allocations: 51.41 kB / 1.467 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.5806, allocations: 182.3 kB / 1.467 GB, free: 0.625 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5806, allocations: 33.7 kB / 1.467 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5807, allocations: 152.1 kB / 1.468 GB, free: 444 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.5808, allocations: 39.64 kB / 1.468 GB, free: 404 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5809, allocations: 45.69 kB / 1.468 GB, free: 352 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5811, allocations: 326.8 kB / 1.468 GB, free: 16 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.5813, allocations: 76.02 kB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.5816, allocations: 153.4 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.5821, allocations: 200 kB / 1.468 GB, free: 15.54 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5821, allocations: 0 / 1.468 GB, free: 15.54 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001634/0.5837, allocations: 374.8 kB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5837, allocations: 11.94 kB / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5837, allocations: 0 / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.585, allocations: 165.8 kB / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.5852, allocations: 35.97 kB / 1.469 GB, free: 14.94 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.5896, allocations: 2.988 MB / 1.472 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.59, allocations: 43.91 kB / 1.472 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.59, allocations: 4 kB / 1.472 GB, free: 11.7 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.5902, allocations: 135.4 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.5903, allocations: 11.89 kB / 1.472 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.5917, allocations: 386 kB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.5917, allocations: 0 / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.5917, allocations: 0 / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.5917, allocations: 4.188 kB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.592, allocations: 181.2 kB / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.592, allocations: 7.969 kB / 1.473 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5922, allocations: 27.92 kB / 1.473 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000945/0.5931, allocations: 145.5 kB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.5932, allocations: 0 / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004142/0.5973, allocations: 3.041 MB / 1.476 GB, free: 7.504 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5973, allocations: 3.938 kB / 1.476 GB, free: 7.5 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.5988, allocations: 430.9 kB / 1.476 GB, free: 7.059 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5989, allocations: 31.83 kB / 1.476 GB, free: 7.027 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.5989, allocations: 4 kB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.5992, allocations: 11.98 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.5993, allocations: 23.95 kB / 1.476 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.5993, allocations: 8 kB / 1.476 GB, free: 6.98 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001741/0.5995, allocations: 128.3 kB / 1.476 GB, free: 6.855 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5995, allocations: 4 kB / 1.476 GB, free: 6.852 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004425/0.5999, allocations: 71.89 kB / 1.476 GB, free: 6.781 MB / 1.17 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.6001, allocations: 123.9 kB / 1.476 GB, free: 6.648 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.6013, allocations: 441.7 kB / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6013, allocations: 0 / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.602, allocations: 365.1 kB / 1.477 GB, free: 5.809 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.6024, allocations: 37.75 kB / 1.477 GB, free: 5.773 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.6035, allocations: 424.2 kB / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.6036, allocations: 132.4 kB / 1.478 GB, free: 5.188 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.6038, allocations: 33.41 kB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.6038, allocations: 23.42 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of SimCode: time 3.3e-07/0.6038, allocations: 0 / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of Templates: time 0.01054/0.6144, allocations: 5.116 MB / 1.483 GB, free: 96 kB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 9.63196553500893]