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.001751/0.001751, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00217/0.00217, allocations: 156 kB / 23.01 MB, free: 4.605 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.579/1.579, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.816/2.816, allocations: 377.9 MB / 0.6228 GB, free: 12.54 MB / 0.5919 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.002325/0.002325, allocations: 67.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2033/1.213, allocations: 142.3 MB / 1.293 GB, free: 1.43 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00591/1.219, allocations: 3.261 MB / 1.296 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/1.219, allocations: 18.69 kB / 1.296 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000559/1.22, allocations: 141.1 kB / 1.296 GB, free: 15.15 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/1.221, allocations: 449.4 kB / 1.297 GB, free: 14.92 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/1.223, allocations: 0.614 MB / 1.297 GB, free: 14.62 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009571/1.224, allocations: 0.6319 MB / 1.298 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/1.225, allocations: 186.9 kB / 1.298 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/1.227, allocations: 0.5056 MB / 1.299 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/1.227, allocations: 193.6 kB / 1.299 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/1.227, allocations: 22.88 kB / 1.299 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/1.228, allocations: 474.1 kB / 1.299 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/1.228, allocations: 101.8 kB / 1.299 GB, free: 13.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/1.228, allocations: 119.2 kB / 1.299 GB, free: 13.71 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/1.229, allocations: 0.5444 MB / 1.3 GB, free: 13.47 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.229, allocations: 0 / 1.3 GB, free: 13.47 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.693e-06/1.229, allocations: 0 / 1.3 GB, free: 13.47 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.196e-06/1.229, allocations: 0 / 1.3 GB, free: 13.47 MB / 1.154 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.001156/1.231, allocations: 0.5712 MB / 1.301 GB, free: 12.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.231, allocations: 14.34 kB / 1.301 GB, free: 12.99 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/1.231, allocations: 81.69 kB / 1.301 GB, free: 12.95 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/1.232, allocations: 248.5 kB / 1.301 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.232, allocations: 16.84 kB / 1.301 GB, free: 12.72 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/1.232, allocations: 17.38 kB / 1.301 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/1.232, allocations: 363.9 kB / 1.301 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.233, allocations: 7.984 kB / 1.301 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/1.233, allocations: 6.781 kB / 1.301 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.233, allocations: 8.531 kB / 1.301 GB, free: 12.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/1.233, allocations: 245.3 kB / 1.301 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/1.235, allocations: 0.9485 MB / 1.302 GB, free: 11.51 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/1.235, allocations: 163.1 kB / 1.303 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/1.236, allocations: 119.3 kB / 1.303 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/1.236, allocations: 70.39 kB / 1.303 GB, free: 11.33 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.236, allocations: 43.78 kB / 1.303 GB, free: 11.28 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/1.236, allocations: 4.875 kB / 1.303 GB, free: 11.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.002321/1.239, allocations: 0.4933 MB / 1.303 GB, free: 11.02 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.239, allocations: 53.97 kB / 1.303 GB, free: 10.96 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/1.239, allocations: 224.9 kB / 1.304 GB, free: 10.8 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.239, allocations: 30.92 kB / 1.304 GB, free: 10.76 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/1.239, allocations: 170.6 kB / 1.304 GB, free: 10.61 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/1.239, allocations: 52.97 kB / 1.304 GB, free: 10.56 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/1.239, allocations: 39.22 kB / 1.304 GB, free: 10.53 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.239, allocations: 332.5 kB / 1.304 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/1.24, allocations: 98.22 kB / 1.304 GB, free: 10.15 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/1.24, allocations: 156.8 kB / 1.304 GB, free: 10.04 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/1.241, allocations: 234.2 kB / 1.305 GB, free: 9.898 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.241, allocations: 3.938 kB / 1.305 GB, free: 9.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001253/1.242, allocations: 357.3 kB / 1.305 GB, free: 9.699 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.242, allocations: 5.344 kB / 1.305 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.242, allocations: 1.219 kB / 1.305 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/1.243, allocations: 92.88 kB / 1.305 GB, free: 9.652 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/1.243, allocations: 40.41 kB / 1.305 GB, free: 9.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.245, allocations: 1.595 MB / 1.307 GB, free: 8.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/1.245, allocations: 32.83 kB / 1.307 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/1.245, allocations: 14.34 kB / 1.307 GB, free: 8.137 MB / 1.154 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.0001727/1.246, allocations: 152.4 kB / 1.307 GB, free: 7.996 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/1.246, allocations: 21.58 kB / 1.307 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/1.247, allocations: 364.5 kB / 1.307 GB, free: 7.762 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.247, allocations: 1.219 kB / 1.307 GB, free: 7.762 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.247, allocations: 5 kB / 1.307 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.247, allocations: 0 / 1.307 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.249, allocations: 0.6914 MB / 1.308 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.249, allocations: 1.312 kB / 1.308 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/1.249, allocations: 35.81 kB / 1.308 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/1.249, allocations: 80.92 kB / 1.308 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.249, allocations: 2.406 kB / 1.308 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/1.251, allocations: 1.62 MB / 1.31 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.251, allocations: 1.219 kB / 1.31 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.253, allocations: 454.6 kB / 1.31 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/1.253, allocations: 42.48 kB / 1.31 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/1.253, allocations: 2.312 kB / 1.31 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.253, allocations: 27.91 kB / 1.31 GB, free: 5.332 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/1.253, allocations: 17.97 kB / 1.31 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/1.253, allocations: 9.531 kB / 1.31 GB, free: 5.316 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001632/1.253, allocations: 159.6 kB / 1.31 GB, free: 5.199 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.253, allocations: 1.156 kB / 1.31 GB, free: 5.199 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005105/1.254, allocations: 85.77 kB / 1.31 GB, free: 5.18 MB / 1.154 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.0003245/1.254, allocations: 152.7 kB / 1.31 GB, free: 5.059 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001053/1.255, allocations: 344.4 kB / 1.311 GB, free: 4.844 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.255, allocations: 1.219 kB / 1.311 GB, free: 4.844 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00061/1.256, allocations: 262.5 kB / 1.311 GB, free: 4.652 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/1.256, allocations: 99.8 kB / 1.311 GB, free: 4.598 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.257, allocations: 0.4957 MB / 1.312 GB, free: 4.246 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/1.258, allocations: 169.4 kB / 1.312 GB, free: 4.121 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001757/1.258, allocations: 55.84 kB / 1.312 GB, free: 4.094 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/1.258, allocations: 20.16 kB / 1.312 GB, free: 4.086 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/1.258, allocations: 1.094 kB / 1.312 GB, free: 4.086 MB / 1.154 GB Notification: Performance of Templates: time 0.01185/1.27, allocations: 5.498 MB / 1.317 GB, free: 0.9102 MB / 1.154 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 -s ida -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: 9.620710738003254]