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.001959/0.001959, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001691/0.001691, allocations: 167 kB / 22.46 MB, free: 5.379 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.963/2.963, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.095e-05, allocations: 21.81 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.871/0.871, allocations: 142.3 MB / 1.139 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004442/0.8755, allocations: 3.229 MB / 1.142 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.8758, allocations: 16.34 kB / 1.142 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.8763, allocations: 138.6 kB / 1.142 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.8775, allocations: 466.1 kB / 1.143 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.8792, allocations: 0.6209 MB / 1.143 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.8803, allocations: 0.6004 MB / 1.144 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.8806, allocations: 172.6 kB / 1.144 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.8825, allocations: 0.5649 MB / 1.145 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.8828, allocations: 172.3 kB / 1.145 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.8828, allocations: 21.38 kB / 1.145 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008285/0.8837, allocations: 482.3 kB / 1.145 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.8838, allocations: 96.61 kB / 1.145 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.8839, allocations: 102.4 kB / 1.146 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000837/0.8847, allocations: 0.5734 MB / 1.146 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8847, allocations: 0.9062 kB / 1.146 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8847, allocations: 0 / 1.146 GB, free: 45.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.8848, allocations: 0 / 1.146 GB, free: 45.12 MB / 1.076 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.0009798/0.8857, allocations: 0.5675 MB / 1.147 GB, free: 44.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.8858, allocations: 9.594 kB / 1.147 GB, free: 44.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.8863, allocations: 74.94 kB / 1.147 GB, free: 44.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.8867, allocations: 245.2 kB / 1.147 GB, free: 44.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.8867, allocations: 20.41 kB / 1.147 GB, free: 44.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.8868, allocations: 20.75 kB / 1.147 GB, free: 44.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.8874, allocations: 366.7 kB / 1.147 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.8874, allocations: 3.812 kB / 1.147 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.8875, allocations: 9.875 kB / 1.147 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.8875, allocations: 6.656 kB / 1.147 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.8881, allocations: 247.4 kB / 1.148 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.8894, allocations: 0.9293 MB / 1.149 GB, free: 43.85 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.8898, allocations: 169 kB / 1.149 GB, free: 43.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.8901, allocations: 118.2 kB / 1.149 GB, free: 43.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.8905, allocations: 72.81 kB / 1.149 GB, free: 43.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.8905, allocations: 37.94 kB / 1.149 GB, free: 43.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 9.789e-06/0.8905, allocations: 0 / 1.149 GB, free: 43.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.002098/0.8926, allocations: 0.4974 MB / 1.149 GB, free: 43.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.8926, allocations: 55.22 kB / 1.149 GB, free: 43.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.8928, allocations: 223.2 kB / 1.15 GB, free: 43.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.8929, allocations: 29.86 kB / 1.15 GB, free: 43.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.893, allocations: 170.5 kB / 1.15 GB, free: 43.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.893, allocations: 49.11 kB / 1.15 GB, free: 43.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.8931, allocations: 37.58 kB / 1.15 GB, free: 43.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.8931, allocations: 336.6 kB / 1.15 GB, free: 43.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.8934, allocations: 99.52 kB / 1.15 GB, free: 43.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.8937, allocations: 160.7 kB / 1.151 GB, free: 42.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.8943, allocations: 234.5 kB / 1.151 GB, free: 42.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8943, allocations: 0 / 1.151 GB, free: 42.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001097/0.8954, allocations: 356.5 kB / 1.151 GB, free: 42.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.8954, allocations: 6.219 kB / 1.151 GB, free: 42.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8954, allocations: 0 / 1.151 GB, free: 42.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.896, allocations: 93.39 kB / 1.151 GB, free: 42.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.8962, allocations: 49.81 kB / 1.151 GB, free: 42.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.8982, allocations: 1.593 MB / 1.153 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.8985, allocations: 32.17 kB / 1.153 GB, free: 41.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.8985, allocations: 8.75 kB / 1.153 GB, free: 41.64 MB / 1.076 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.0001301/0.8986, allocations: 143 kB / 1.153 GB, free: 41.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.8987, allocations: 22.59 kB / 1.153 GB, free: 41.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.8998, allocations: 364 kB / 1.153 GB, free: 41.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8998, allocations: 5 kB / 1.153 GB, free: 41.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.8998, allocations: 3.281 kB / 1.153 GB, free: 41.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8998, allocations: 3.047 kB / 1.153 GB, free: 41.46 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.9012, allocations: 0.6861 MB / 1.154 GB, free: 41.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9012, allocations: 2.656 kB / 1.154 GB, free: 41.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.9014, allocations: 42.8 kB / 1.154 GB, free: 41.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.9018, allocations: 75.73 kB / 1.154 GB, free: 41.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.9018, allocations: 2.656 kB / 1.154 GB, free: 41.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.9035, allocations: 1.607 MB / 1.156 GB, free: 39.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9035, allocations: 2.781 kB / 1.156 GB, free: 39.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.9046, allocations: 447.9 kB / 1.156 GB, free: 39.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.9047, allocations: 42.02 kB / 1.156 GB, free: 39.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.9048, allocations: 13.69 kB / 1.156 GB, free: 39.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.905, allocations: 22.19 kB / 1.156 GB, free: 39.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.912e-05/0.9051, allocations: 19.78 kB / 1.156 GB, free: 39.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.9051, allocations: 11.59 kB / 1.156 GB, free: 39.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001247/0.9052, allocations: 155.3 kB / 1.156 GB, free: 39.69 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9052, allocations: 4.688 kB / 1.156 GB, free: 39.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000472/0.9057, allocations: 86.84 kB / 1.156 GB, free: 39.68 MB / 1.076 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.0003581/0.9061, allocations: 153.4 kB / 1.157 GB, free: 39.58 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.9071, allocations: 362.4 kB / 1.157 GB, free: 39.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9071, allocations: 0.75 kB / 1.157 GB, free: 39.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.9077, allocations: 249.4 kB / 1.157 GB, free: 39.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.9083, allocations: 84.97 kB / 1.157 GB, free: 39.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.9092, allocations: 0.4928 MB / 1.158 GB, free: 39.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.9094, allocations: 165.5 kB / 1.158 GB, free: 39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.9095, allocations: 50.69 kB / 1.158 GB, free: 39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.9096, allocations: 19.81 kB / 1.158 GB, free: 39 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.9096, allocations: 0.9375 kB / 1.158 GB, free: 39 MB / 1.076 GB Notification: Performance of Templates: time 0.01075/0.9204, allocations: 5.286 MB / 1.163 GB, free: 38.7 MB / 1.076 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/jenkins/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: 9.444264329969883]