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.001616/0.001616, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001507/0.001507, allocations: 216.2 kB / 22.25 MB, free: 5.074 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 8.008 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.328/3.328, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.002134/0.002134, allocations: 68.19 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003173/0.34, allocations: 1.947 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.191/0.531, allocations: 158.9 MB / 1.483 GB, free: 0 / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.5312, allocations: 0 / 1.483 GB, free: 0 / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.5314, allocations: 23.84 kB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.5317, allocations: 71.42 kB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.5326, allocations: 271 kB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.5329, allocations: 267 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.5331, allocations: 54.48 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.5346, allocations: 259.4 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.5348, allocations: 95.59 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.5348, allocations: 16 kB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.5352, allocations: 195.7 kB / 1.485 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.5352, allocations: 39.84 kB / 1.485 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.5353, allocations: 99.5 kB / 1.485 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.5358, allocations: 290.9 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5358, allocations: 0 / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5358, allocations: 0 / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.5358, allocations: 0 / 1.485 GB, free: 14.37 MB / 1.186 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.001001/0.5368, allocations: 469.2 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5369, allocations: 12.03 kB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.5381, allocations: 111.7 kB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.5384, allocations: 178.7 kB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.5385, allocations: 63.73 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.5385, allocations: 16 kB / 1.486 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005579/0.5391, allocations: 258.6 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5391, allocations: 4 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.5391, allocations: 8 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.5391, allocations: 4 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.5396, allocations: 168.3 kB / 1.486 GB, free: 13.01 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.5414, allocations: 1.148 MB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.5422, allocations: 202.6 kB / 1.488 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.5423, allocations: 68.77 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.5424, allocations: 0 / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5424, allocations: 42.55 kB / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.5424, allocations: 0 / 1.488 GB, free: 11.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=12): time 0.002812/0.5452, allocations: 486.7 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.5453, allocations: 55.41 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.5455, allocations: 218.7 kB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.5456, allocations: 29.7 kB / 1.488 GB, free: 10.65 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.5457, allocations: 136.3 kB / 1.489 GB, free: 10.51 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.5457, allocations: 51.56 kB / 1.489 GB, free: 10.46 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.5458, allocations: 49.64 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.546, allocations: 334.8 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.5462, allocations: 67.95 kB / 1.489 GB, free: 10 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.5465, allocations: 135.6 kB / 1.489 GB, free: 9.844 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.5469, allocations: 194.7 kB / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5469, allocations: 0 / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001589/0.5485, allocations: 378.7 kB / 1.49 GB, free: 9.25 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5485, allocations: 8 kB / 1.49 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.5485, allocations: 0 / 1.49 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.5497, allocations: 169.7 kB / 1.49 GB, free: 9.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.5499, allocations: 39.89 kB / 1.49 GB, free: 9.031 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.5543, allocations: 3.037 MB / 1.493 GB, free: 5.758 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.5547, allocations: 35.8 kB / 1.493 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.5547, allocations: 16.05 kB / 1.493 GB, free: 5.707 MB / 1.186 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.0001733/0.5549, allocations: 139.5 kB / 1.493 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.5549, allocations: 15.91 kB / 1.493 GB, free: 5.547 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.5564, allocations: 370.5 kB / 1.493 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5564, allocations: 4 kB / 1.493 GB, free: 5.164 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.5564, allocations: 0 / 1.493 GB, free: 5.164 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5564, allocations: 0 / 1.493 GB, free: 5.164 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.5567, allocations: 256.4 kB / 1.494 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5567, allocations: 0 / 1.494 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.5569, allocations: 27.92 kB / 1.494 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/0.5577, allocations: 133.6 kB / 1.494 GB, free: 4.707 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.5578, allocations: 11.98 kB / 1.494 GB, free: 4.695 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/0.5616, allocations: 3.094 MB / 1.497 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5616, allocations: 3.938 kB / 1.497 GB, free: 1.355 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.563, allocations: 436.8 kB / 1.497 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5631, allocations: 32 kB / 1.497 GB, free: 0.875 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.5632, allocations: 7.984 kB / 1.497 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.5635, allocations: 19.98 kB / 1.497 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.5635, allocations: 19.95 kB / 1.497 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.5636, allocations: 8 kB / 1.497 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001999/0.5638, allocations: 155.2 kB / 1.497 GB, free: 0.668 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5638, allocations: 0 / 1.497 GB, free: 0.668 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004749/0.5642, allocations: 75.89 kB / 1.498 GB, free: 0.5938 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 (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.000306/0.5645, allocations: 123.2 kB / 1.498 GB, free: 472 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.5658, allocations: 433.8 kB / 1.498 GB, free: 12 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5658, allocations: 0 / 1.498 GB, free: 12 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.5667, allocations: 363.3 kB / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.5671, allocations: 68.27 kB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.5683, allocations: 418.6 kB / 1.499 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.5686, allocations: 0.7438 MB / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.5688, allocations: 41.86 kB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.5689, allocations: 23.42 kB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of SimCode: time 4.01e-07/0.5689, allocations: 4 kB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of Templates: time 0.01212/0.581, allocations: 5.558 MB / 1.505 GB, free: 8.801 MB / 1.201 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 -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/jenkins/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.60847867000848]