Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001758/0.001758, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002186/0.002186, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.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.826/2.826, allocations: 476.7 MB / 0.7706 GB, free: 4.461 MB / 0.6231 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_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_11_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.002093/0.002093, allocations: 66.14 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3525, allocations: 170 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003489/0.356, allocations: 1.961 MB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2124/0.5684, allocations: 158.9 MB / 1.441 GB, free: 9.797 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.5686, allocations: 7.938 kB / 1.441 GB, free: 9.789 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.5688, allocations: 31.72 kB / 1.441 GB, free: 9.758 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.5691, allocations: 75.42 kB / 1.441 GB, free: 9.684 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.5698, allocations: 264.6 kB / 1.441 GB, free: 9.426 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.5702, allocations: 263.1 kB / 1.441 GB, free: 9.168 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.5704, allocations: 50.53 kB / 1.442 GB, free: 9.117 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.5719, allocations: 265.2 kB / 1.442 GB, free: 8.883 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.5721, allocations: 95.59 kB / 1.442 GB, free: 8.789 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.5721, allocations: 12 kB / 1.442 GB, free: 8.777 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.5725, allocations: 199.6 kB / 1.442 GB, free: 8.582 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.5726, allocations: 47.88 kB / 1.442 GB, free: 8.535 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.5727, allocations: 91.53 kB / 1.442 GB, free: 8.445 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.5732, allocations: 302.8 kB / 1.442 GB, free: 8.148 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5732, allocations: 0 / 1.442 GB, free: 8.148 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5732, allocations: 0 / 1.442 GB, free: 8.148 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5732, allocations: 0 / 1.442 GB, free: 8.148 MB / 1.139 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.001009/0.5742, allocations: 461.3 kB / 1.443 GB, free: 7.668 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5743, allocations: 12.03 kB / 1.443 GB, free: 7.656 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.5755, allocations: 111.7 kB / 1.443 GB, free: 7.547 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.5758, allocations: 172.8 kB / 1.443 GB, free: 7.352 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.5759, allocations: 67.73 kB / 1.443 GB, free: 7.273 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.576, allocations: 20 kB / 1.443 GB, free: 7.254 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.5765, allocations: 262.5 kB / 1.444 GB, free: 6.969 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5765, allocations: 4 kB / 1.444 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.5766, allocations: 4 kB / 1.444 GB, free: 6.961 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.5766, allocations: 4 kB / 1.444 GB, free: 6.957 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.5771, allocations: 167.8 kB / 1.444 GB, free: 6.793 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.5789, allocations: 1.148 MB / 1.445 GB, free: 5.574 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.5797, allocations: 198.7 kB / 1.445 GB, free: 5.371 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.5799, allocations: 64.81 kB / 1.445 GB, free: 5.305 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.58, allocations: 0 / 1.445 GB, free: 5.305 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.58, allocations: 38.5 kB / 1.445 GB, free: 5.258 MB / 1.139 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.58, allocations: 8 kB / 1.445 GB, free: 5.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=12): time 0.002866/0.5829, allocations: 494.9 kB / 1.446 GB, free: 4.754 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.5829, allocations: 55.41 kB / 1.446 GB, free: 4.688 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.5832, allocations: 214.9 kB / 1.446 GB, free: 4.469 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.5832, allocations: 25.7 kB / 1.446 GB, free: 4.438 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5833, allocations: 140.2 kB / 1.446 GB, free: 4.297 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.5834, allocations: 51.58 kB / 1.446 GB, free: 4.246 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5835, allocations: 49.64 kB / 1.446 GB, free: 4.191 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5836, allocations: 330.8 kB / 1.446 GB, free: 3.859 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.5839, allocations: 67.94 kB / 1.446 GB, free: 3.793 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.5841, allocations: 127.7 kB / 1.447 GB, free: 3.641 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.5846, allocations: 206.6 kB / 1.447 GB, free: 3.414 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5846, allocations: 0 / 1.447 GB, free: 3.414 MB / 1.139 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001605/0.5862, allocations: 377.7 kB / 1.447 GB, free: 3.035 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5862, allocations: 11.94 kB / 1.447 GB, free: 3.023 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5862, allocations: 0 / 1.447 GB, free: 3.023 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.5874, allocations: 169.7 kB / 1.447 GB, free: 2.852 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5876, allocations: 35.97 kB / 1.447 GB, free: 2.816 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/0.5922, allocations: 3.037 MB / 1.45 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.5926, allocations: 39.8 kB / 1.45 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.5926, allocations: 11.98 kB / 1.45 GB, free: 15.49 MB / 1.154 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.0001575/0.5928, allocations: 141.2 kB / 1.451 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.5928, allocations: 15.91 kB / 1.451 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.5942, allocations: 366.4 kB / 1.451 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5942, allocations: 4 kB / 1.451 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.5942, allocations: 0 / 1.451 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5943, allocations: 0 / 1.451 GB, free: 14.95 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.5946, allocations: 252.4 kB / 1.451 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5946, allocations: 7.984 kB / 1.451 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5948, allocations: 23.92 kB / 1.451 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008804/0.5956, allocations: 141.6 kB / 1.451 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5957, allocations: 4 kB / 1.451 GB, free: 14.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/0.5999, allocations: 3.086 MB / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5999, allocations: 0 / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.6013, allocations: 436.7 kB / 1.455 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6014, allocations: 39.94 kB / 1.455 GB, free: 10.68 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.6014, allocations: 3.938 kB / 1.455 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.6017, allocations: 15.98 kB / 1.455 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.6018, allocations: 27.95 kB / 1.455 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.6018, allocations: 7.984 kB / 1.455 GB, free: 10.62 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002221/0.6021, allocations: 163.1 kB / 1.455 GB, free: 10.46 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6021, allocations: 0 / 1.455 GB, free: 10.46 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004323/0.6025, allocations: 75.89 kB / 1.455 GB, free: 10.39 MB / 1.154 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.0002631/0.6028, allocations: 111.2 kB / 1.455 GB, free: 10.27 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.6039, allocations: 444 kB / 1.456 GB, free: 9.809 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6039, allocations: 0 / 1.456 GB, free: 9.809 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/0.6046, allocations: 357.1 kB / 1.456 GB, free: 9.434 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.6051, allocations: 51.97 kB / 1.456 GB, free: 9.383 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.6062, allocations: 427.5 kB / 1.456 GB, free: 8.941 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.6066, allocations: 0.7478 MB / 1.457 GB, free: 8.168 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.6068, allocations: 37.92 kB / 1.457 GB, free: 8.133 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.6069, allocations: 19.44 kB / 1.457 GB, free: 8.113 MB / 1.154 GB Notification: Performance of SimCode: time 3.8e-07/0.6069, allocations: 0 / 1.457 GB, free: 8.113 MB / 1.154 GB Notification: Performance of Templates: time 0.0115/0.6184, allocations: 5.572 MB / 1.463 GB, free: 2.602 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.322088326793164]