Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001631/0.001631, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001704/0.001704, allocations: 216 kB / 23.04 MB, free: 4.863 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.088/3.088, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_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_12_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.002076/0.002076, allocations: 70.28 kB / 1.155 GB, free: 25.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 176.1 MB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1867/0.5354, allocations: 142.3 MB / 1.466 GB, free: 1.996 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00529/0.5407, allocations: 3.262 MB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.5411, allocations: 11.88 kB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.5416, allocations: 143 kB / 1.469 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.5429, allocations: 457.9 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.5446, allocations: 0.606 MB / 1.471 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.5455, allocations: 0.6322 MB / 1.471 GB, free: 12.89 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.5458, allocations: 188.9 kB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.5477, allocations: 0.4982 MB / 1.472 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.548, allocations: 203.1 kB / 1.472 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.5481, allocations: 20 kB / 1.472 GB, free: 12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009024/0.549, allocations: 474.8 kB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.5491, allocations: 99.64 kB / 1.473 GB, free: 11.43 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.5493, allocations: 119.5 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008422/0.5501, allocations: 0.5411 MB / 1.473 GB, free: 10.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5501, allocations: 0 / 1.473 GB, free: 10.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5501, allocations: 0 / 1.473 GB, free: 10.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5501, allocations: 0 / 1.473 GB, free: 10.77 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001123/0.5512, allocations: 0.5758 MB / 1.474 GB, free: 10.16 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5513, allocations: 12.03 kB / 1.474 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005468/0.5518, allocations: 75.7 kB / 1.474 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.5522, allocations: 247.6 kB / 1.474 GB, free: 9.809 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.5523, allocations: 20.38 kB / 1.474 GB, free: 9.789 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.5523, allocations: 20 kB / 1.474 GB, free: 9.77 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.553, allocations: 359.6 kB / 1.474 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.553, allocations: 8 kB / 1.474 GB, free: 9.379 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.5531, allocations: 8 kB / 1.474 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5531, allocations: 7.938 kB / 1.475 GB, free: 9.363 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/0.5538, allocations: 252.8 kB / 1.475 GB, free: 9.117 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.5553, allocations: 0.941 MB / 1.476 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.5558, allocations: 162.5 kB / 1.476 GB, free: 7.953 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.5561, allocations: 120.8 kB / 1.476 GB, free: 7.832 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004661/0.5566, allocations: 67.92 kB / 1.476 GB, free: 7.766 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5566, allocations: 42.55 kB / 1.476 GB, free: 7.715 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 2.023e-06/0.5566, allocations: 0 / 1.476 GB, free: 7.715 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002254/0.5589, allocations: 0.4956 MB / 1.477 GB, free: 7.211 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.5589, allocations: 59.41 kB / 1.477 GB, free: 7.141 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5592, allocations: 221.1 kB / 1.477 GB, free: 6.918 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.5592, allocations: 25.7 kB / 1.477 GB, free: 6.887 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.5593, allocations: 176.3 kB / 1.477 GB, free: 6.711 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.5594, allocations: 55.53 kB / 1.477 GB, free: 6.656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.5595, allocations: 37.7 kB / 1.477 GB, free: 6.613 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5596, allocations: 334.8 kB / 1.477 GB, free: 6.277 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.5599, allocations: 91.91 kB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.5603, allocations: 165.8 kB / 1.478 GB, free: 6.004 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006214/0.5609, allocations: 245.7 kB / 1.478 GB, free: 5.75 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5609, allocations: 0 / 1.478 GB, free: 5.75 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001177/0.5621, allocations: 354.1 kB / 1.478 GB, free: 5.395 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5621, allocations: 5.562 kB / 1.478 GB, free: 5.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5621, allocations: 0 / 1.478 GB, free: 5.391 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.5627, allocations: 88.8 kB / 1.478 GB, free: 5.301 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.563, allocations: 43.95 kB / 1.478 GB, free: 5.258 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.5653, allocations: 1.587 MB / 1.48 GB, free: 3.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.5655, allocations: 35.8 kB / 1.48 GB, free: 3.535 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.5656, allocations: 12.06 kB / 1.48 GB, free: 3.523 MB / 1.17 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.0001873/0.5658, allocations: 149.8 kB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.5658, allocations: 23.86 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.567, allocations: 366.8 kB / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.567, allocations: 0 / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.567, allocations: 0 / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.567, allocations: 0 / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.5687, allocations: 0.6885 MB / 1.481 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5687, allocations: 0 / 1.481 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.5689, allocations: 39.89 kB / 1.481 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004343/0.5693, allocations: 76.88 kB / 1.481 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.5693, allocations: 8 kB / 1.481 GB, free: 2.105 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.5715, allocations: 1.617 MB / 1.483 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5715, allocations: 3.938 kB / 1.483 GB, free: 384 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5727, allocations: 450.5 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5728, allocations: 43.83 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.5728, allocations: 0 / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5731, allocations: 23.97 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.5732, allocations: 27.91 kB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.5732, allocations: 7.938 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000171/0.5733, allocations: 164.5 kB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5733, allocations: 0 / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004487/0.5738, allocations: 87.81 kB / 1.484 GB, free: 15.56 MB / 1.186 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.000289/0.5741, allocations: 146.6 kB / 1.484 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.5751, allocations: 358.5 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5751, allocations: 4 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.5757, allocations: 254.6 kB / 1.484 GB, free: 14.78 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/0.5764, allocations: 94.38 kB / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5774, allocations: 0.536 MB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.5776, allocations: 158.9 kB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.5777, allocations: 31.42 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/0.5777, allocations: 0 / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of Templates: time 0.008888/0.5866, allocations: 5.194 MB / 1.49 GB, free: 8.738 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.52459532697685]