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.001475/0.001475, allocations: 99.64 kB / 18.95 MB, free: 2.668 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: 211.7 kB / 22.24 MB, free: 5.262 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 7.785 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.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.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.002128/0.002128, allocations: 68.22 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.421, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1961/0.6171, allocations: 142.3 MB / 1.465 GB, free: 2.984 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005909/0.623, allocations: 3.262 MB / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.6234, allocations: 15.81 kB / 1.468 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.624, allocations: 139 kB / 1.468 GB, free: 15.56 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.6257, allocations: 461.9 kB / 1.468 GB, free: 15.11 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.6276, allocations: 0.6035 MB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.6287, allocations: 0.6322 MB / 1.47 GB, free: 13.87 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.6292, allocations: 188.9 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.6313, allocations: 0.5141 MB / 1.47 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.6318, allocations: 187.2 kB / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.56e-05/0.6319, allocations: 24 kB / 1.47 GB, free: 12.97 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.6333, allocations: 474.8 kB / 1.471 GB, free: 12.51 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.6335, allocations: 99.64 kB / 1.471 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.6339, allocations: 115.5 kB / 1.471 GB, free: 12.3 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.6356, allocations: 0.545 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6356, allocations: 0 / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6356, allocations: 0 / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.727e-05/0.6356, allocations: 0 / 1.472 GB, free: 11.75 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.001744/0.6374, allocations: 0.5745 MB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6374, allocations: 11.97 kB / 1.472 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.6381, allocations: 83.69 kB / 1.472 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.6387, allocations: 239.7 kB / 1.472 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.6387, allocations: 16.44 kB / 1.472 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.6388, allocations: 16 kB / 1.472 GB, free: 10.76 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.6396, allocations: 371.5 kB / 1.473 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6396, allocations: 0 / 1.473 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.6396, allocations: 12 kB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.6396, allocations: 7.938 kB / 1.473 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.6403, allocations: 244.9 kB / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.6421, allocations: 0.9527 MB / 1.474 GB, free: 9.102 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.6426, allocations: 162.5 kB / 1.474 GB, free: 8.934 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.643, allocations: 112.8 kB / 1.474 GB, free: 8.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.6434, allocations: 79.91 kB / 1.474 GB, free: 8.742 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.6435, allocations: 38.5 kB / 1.474 GB, free: 8.695 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.6435, allocations: 0 / 1.474 GB, free: 8.695 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002346/0.6458, allocations: 0.4917 MB / 1.475 GB, free: 8.195 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.6459, allocations: 51.41 kB / 1.475 GB, free: 8.133 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.6462, allocations: 233 kB / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.6462, allocations: 25.7 kB / 1.475 GB, free: 7.867 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.6464, allocations: 172.3 kB / 1.475 GB, free: 7.695 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.6464, allocations: 59.53 kB / 1.475 GB, free: 7.637 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.6465, allocations: 33.7 kB / 1.475 GB, free: 7.598 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6467, allocations: 338.8 kB / 1.476 GB, free: 7.258 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.647, allocations: 91.92 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.6474, allocations: 165.9 kB / 1.476 GB, free: 6.984 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.648, allocations: 237 kB / 1.476 GB, free: 6.738 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.648, allocations: 0 / 1.476 GB, free: 6.738 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00127/0.6493, allocations: 355.1 kB / 1.477 GB, free: 6.383 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6493, allocations: 9.406 kB / 1.477 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6493, allocations: 0 / 1.477 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.65, allocations: 92.88 kB / 1.477 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.6503, allocations: 39.91 kB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.6529, allocations: 1.594 MB / 1.478 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.6532, allocations: 35.88 kB / 1.478 GB, free: 4.512 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.6532, allocations: 7.984 kB / 1.478 GB, free: 4.504 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.0002208/0.6534, allocations: 149.8 kB / 1.478 GB, free: 4.348 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.6535, allocations: 19.86 kB / 1.478 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.6547, allocations: 362.2 kB / 1.479 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6548, allocations: 7.984 kB / 1.479 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.6548, allocations: 0 / 1.479 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6548, allocations: 0 / 1.479 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.6566, allocations: 0.6923 MB / 1.479 GB, free: 3.207 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6566, allocations: 0 / 1.479 GB, free: 3.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.6568, allocations: 31.97 kB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.6572, allocations: 80.86 kB / 1.48 GB, free: 3.094 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.6573, allocations: 4 kB / 1.48 GB, free: 3.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.6595, allocations: 1.625 MB / 1.481 GB, free: 1.355 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6595, allocations: 4.031 kB / 1.481 GB, free: 1.352 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.6608, allocations: 454.5 kB / 1.482 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.6609, allocations: 35.84 kB / 1.482 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.661, allocations: 4 kB / 1.482 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.6612, allocations: 27.97 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.6613, allocations: 19.91 kB / 1.482 GB, free: 0.793 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6613, allocations: 15.92 kB / 1.482 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001818/0.6615, allocations: 160.5 kB / 1.482 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6615, allocations: 0 / 1.482 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005007/0.662, allocations: 87.77 kB / 1.482 GB, free: 0.5312 MB / 1.17 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.000366/0.6624, allocations: 143.1 kB / 1.482 GB, free: 392 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.6635, allocations: 354.3 kB / 1.482 GB, free: 28 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6635, allocations: 0 / 1.482 GB, free: 28 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006835/0.6642, allocations: 254.9 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.6649, allocations: 100.4 kB / 1.483 GB, free: 15.67 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.666, allocations: 0.5105 MB / 1.483 GB, free: 15.13 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.6662, allocations: 162.8 kB / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.6664, allocations: 53.91 kB / 1.483 GB, free: 14.9 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.6665, allocations: 19.44 kB / 1.483 GB, free: 14.88 MB / 1.186 GB Notification: Performance of SimCode: time 3.91e-07/0.6665, allocations: 0 / 1.483 GB, free: 14.88 MB / 1.186 GB Notification: Performance of Templates: time 0.01309/0.6796, allocations: 5.834 MB / 1.489 GB, free: 9.164 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/jenkins/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: 10.005976118147373]