Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.001671/0.001671, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001911/0.001911, allocations: 221 kB / 23 MB, free: 4.918 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.336/3.336, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [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.002075/0.002075, allocations: 68.94 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1875/0.5353, allocations: 142.3 MB / 1.504 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005349/0.5406, allocations: 3.268 MB / 1.507 GB, free: 11.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.541, allocations: 15.88 kB / 1.507 GB, free: 11.39 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005003/0.5415, allocations: 135 kB / 1.507 GB, free: 11.26 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.5428, allocations: 457.9 kB / 1.507 GB, free: 10.81 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.5445, allocations: 0.6087 MB / 1.508 GB, free: 10.21 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0008697/0.5454, allocations: 0.6322 MB / 1.509 GB, free: 9.574 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.5458, allocations: 184.9 kB / 1.509 GB, free: 9.395 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.5477, allocations: 0.5195 MB / 1.509 GB, free: 8.887 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.5481, allocations: 191.2 kB / 1.509 GB, free: 8.699 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.5482, allocations: 20 kB / 1.509 GB, free: 8.68 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.5491, allocations: 470.8 kB / 1.51 GB, free: 8.219 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.5493, allocations: 99.66 kB / 1.51 GB, free: 8.121 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.5494, allocations: 119.5 kB / 1.51 GB, free: 8.004 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.5505, allocations: 0.545 MB / 1.511 GB, free: 7.457 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5505, allocations: 7.938 kB / 1.511 GB, free: 7.449 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5505, allocations: 0 / 1.511 GB, free: 7.449 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5505, allocations: 3.938 kB / 1.511 GB, free: 7.445 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001214/0.5517, allocations: 0.5669 MB / 1.511 GB, free: 6.848 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5518, allocations: 8.031 kB / 1.511 GB, free: 6.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.5523, allocations: 87.64 kB / 1.511 GB, free: 6.754 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.5528, allocations: 247.7 kB / 1.512 GB, free: 6.484 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.5528, allocations: 24.38 kB / 1.512 GB, free: 6.461 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.5529, allocations: 16 kB / 1.512 GB, free: 6.445 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.5536, allocations: 363.6 kB / 1.512 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5536, allocations: 0 / 1.512 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.5536, allocations: 11.94 kB / 1.512 GB, free: 6.047 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.5536, allocations: 11.94 kB / 1.512 GB, free: 6.035 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.5543, allocations: 248.8 kB / 1.512 GB, free: 5.793 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.5559, allocations: 0.9371 MB / 1.513 GB, free: 4.801 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.5564, allocations: 162.5 kB / 1.513 GB, free: 4.633 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.5567, allocations: 116.8 kB / 1.513 GB, free: 4.516 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.5572, allocations: 71.92 kB / 1.513 GB, free: 4.445 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.5572, allocations: 38.56 kB / 1.513 GB, free: 4.398 MB / 1.201 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.5572, allocations: 0 / 1.513 GB, free: 4.398 MB / 1.201 GB Notification: Performance of matching and sorting (n=14): time 0.002331/0.5596, allocations: 0.494 MB / 1.514 GB, free: 3.895 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.5596, allocations: 59.41 kB / 1.514 GB, free: 3.824 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.5599, allocations: 225.1 kB / 1.514 GB, free: 3.594 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.5599, allocations: 25.7 kB / 1.514 GB, free: 3.562 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5601, allocations: 176.3 kB / 1.514 GB, free: 3.387 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.5601, allocations: 55.52 kB / 1.514 GB, free: 3.332 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.5602, allocations: 37.7 kB / 1.515 GB, free: 3.289 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.5604, allocations: 330.8 kB / 1.515 GB, free: 2.957 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.5607, allocations: 91.91 kB / 1.515 GB, free: 2.867 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.561, allocations: 169.8 kB / 1.515 GB, free: 2.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.5617, allocations: 242 kB / 1.515 GB, free: 2.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5617, allocations: 0 / 1.515 GB, free: 2.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00123/0.5629, allocations: 350 kB / 1.516 GB, free: 2.078 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5629, allocations: 7.984 kB / 1.516 GB, free: 2.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5629, allocations: 4 kB / 1.516 GB, free: 2.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.5636, allocations: 84.89 kB / 1.516 GB, free: 1.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.5638, allocations: 43.97 kB / 1.516 GB, free: 1.938 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.5661, allocations: 1.598 MB / 1.517 GB, free: 248 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/0.5664, allocations: 39.8 kB / 1.517 GB, free: 208 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.5664, allocations: 4 kB / 1.517 GB, free: 204 kB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * 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: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.5666, allocations: 142.9 kB / 1.518 GB, free: 52 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.5667, allocations: 19.91 kB / 1.518 GB, free: 32 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.5679, allocations: 375.8 kB / 1.518 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5679, allocations: 0 / 1.518 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5679, allocations: 0 / 1.518 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5679, allocations: 0 / 1.518 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.5698, allocations: 0.6806 MB / 1.519 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.5698, allocations: 4 kB / 1.519 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.57, allocations: 35.91 kB / 1.519 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.5705, allocations: 80.86 kB / 1.519 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.5705, allocations: 4 kB / 1.519 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.5728, allocations: 1.613 MB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5728, allocations: 3.938 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.574, allocations: 457 kB / 1.521 GB, free: 12.59 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.5741, allocations: 47.77 kB / 1.521 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.5742, allocations: 144 / 1.521 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.5744, allocations: 23.97 kB / 1.521 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.91e-05/0.5745, allocations: 27.89 kB / 1.521 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.5745, allocations: 4 kB / 1.521 GB, free: 12.49 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001664/0.5747, allocations: 164.5 kB / 1.521 GB, free: 12.33 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5747, allocations: 0 / 1.521 GB, free: 12.33 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005076/0.5752, allocations: 83.83 kB / 1.521 GB, free: 12.25 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.5755, allocations: 147.1 kB / 1.521 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.5766, allocations: 354.6 kB / 1.522 GB, free: 11.74 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.5766, allocations: 8 kB / 1.522 GB, free: 11.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.5772, allocations: 246.5 kB / 1.522 GB, free: 11.48 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.5779, allocations: 101.1 kB / 1.522 GB, free: 11.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.579, allocations: 0.5344 MB / 1.522 GB, free: 10.81 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.5792, allocations: 162.8 kB / 1.523 GB, free: 10.63 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.5793, allocations: 19.44 kB / 1.523 GB, free: 10.61 MB / 1.217 GB Notification: Performance of SimCode: time 8.72e-07/0.5793, allocations: 0 / 1.523 GB, free: 10.61 MB / 1.217 GB Notification: Performance of Templates: time 0.009502/0.5888, allocations: 5.204 MB / 1.528 GB, free: 5.43 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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: 12.887936181854457]