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.001465/0.001465, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001654/0.001654, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.888/2.888, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.001919/0.001919, allocations: 71.25 kB / 1.155 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1791/0.4856, allocations: 165.1 MB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00499/0.4906, allocations: 3.534 MB / 1.492 GB, free: 8.199 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.4908, allocations: 15.88 kB / 1.492 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.4912, allocations: 138.9 kB / 1.492 GB, free: 8.047 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.4924, allocations: 481.9 kB / 1.492 GB, free: 7.574 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4938, allocations: 0.6337 MB / 1.493 GB, free: 6.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.4945, allocations: 0.6361 MB / 1.494 GB, free: 6.305 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.4949, allocations: 184.9 kB / 1.494 GB, free: 6.125 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.4965, allocations: 0.5098 MB / 1.494 GB, free: 5.629 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.4968, allocations: 203.2 kB / 1.494 GB, free: 5.43 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.4968, allocations: 24 kB / 1.495 GB, free: 5.406 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008782/0.4977, allocations: 0.5885 MB / 1.495 GB, free: 4.816 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4978, allocations: 95.66 kB / 1.495 GB, free: 4.723 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.498, allocations: 147.3 kB / 1.495 GB, free: 4.578 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007669/0.4987, allocations: 0.5606 MB / 1.496 GB, free: 4.016 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4987, allocations: 0 / 1.496 GB, free: 4.016 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4987, allocations: 0 / 1.496 GB, free: 4.016 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4987, allocations: 0 / 1.496 GB, free: 4.016 MB / 1.186 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.001013/0.4997, allocations: 0.5708 MB / 1.496 GB, free: 3.41 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.4998, allocations: 8.031 kB / 1.496 GB, free: 3.402 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005116/0.5003, allocations: 83.69 kB / 1.497 GB, free: 3.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.5007, allocations: 247.6 kB / 1.497 GB, free: 3.051 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.5007, allocations: 16.44 kB / 1.497 GB, free: 3.035 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.5008, allocations: 16 kB / 1.497 GB, free: 3.02 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.5014, allocations: 316.2 kB / 1.497 GB, free: 2.691 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5014, allocations: 0 / 1.497 GB, free: 2.691 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.5014, allocations: 8 kB / 1.497 GB, free: 2.684 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5014, allocations: 11.88 kB / 1.497 GB, free: 2.672 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.502, allocations: 248.9 kB / 1.497 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.5036, allocations: 1.214 MB / 1.499 GB, free: 1.105 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.504, allocations: 166.5 kB / 1.499 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.5043, allocations: 120.8 kB / 1.499 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004561/0.5048, allocations: 71.86 kB / 1.499 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5048, allocations: 42.56 kB / 1.499 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.5048, allocations: 0 / 1.499 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.002097/0.5069, allocations: 0.5057 MB / 1.499 GB, free: 180 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.5069, allocations: 51.41 kB / 1.499 GB, free: 116 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.5072, allocations: 264.2 kB / 1.5 GB, free: 15.84 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.5072, allocations: 25.7 kB / 1.5 GB, free: 15.81 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5073, allocations: 172.2 kB / 1.5 GB, free: 15.64 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.5074, allocations: 51.59 kB / 1.5 GB, free: 15.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.5075, allocations: 33.7 kB / 1.5 GB, free: 15.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5076, allocations: 338.8 kB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.5079, allocations: 87.92 kB / 1.5 GB, free: 15.12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.5082, allocations: 144.1 kB / 1.501 GB, free: 14.96 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.5087, allocations: 237 kB / 1.501 GB, free: 14.72 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5087, allocations: 0 / 1.501 GB, free: 14.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.5098, allocations: 349.1 kB / 1.501 GB, free: 14.37 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5099, allocations: 12.12 kB / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5099, allocations: 0 / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.5104, allocations: 84.77 kB / 1.501 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.5107, allocations: 47.95 kB / 1.501 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.5129, allocations: 1.636 MB / 1.503 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.5131, allocations: 39.84 kB / 1.503 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.5131, allocations: 4 kB / 1.503 GB, free: 12.43 MB / 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.0001573/0.5133, allocations: 141.8 kB / 1.503 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.5134, allocations: 27.86 kB / 1.503 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5144, allocations: 363.9 kB / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5145, allocations: 4 kB / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.5145, allocations: 0 / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5145, allocations: 0 / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5161, allocations: 0.7503 MB / 1.504 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5161, allocations: 3.938 kB / 1.504 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.5162, allocations: 35.91 kB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.5167, allocations: 80.86 kB / 1.504 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5167, allocations: 11.94 kB / 1.504 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.5186, allocations: 1.64 MB / 1.506 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5186, allocations: 3.938 kB / 1.506 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.5197, allocations: 446.6 kB / 1.506 GB, free: 8.715 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5198, allocations: 51.91 kB / 1.506 GB, free: 8.664 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.5198, allocations: 0 / 1.506 GB, free: 8.664 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.5201, allocations: 31.89 kB / 1.506 GB, free: 8.633 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.5201, allocations: 19.97 kB / 1.506 GB, free: 8.613 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5201, allocations: 4 kB / 1.506 GB, free: 8.609 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001771/0.5203, allocations: 191.1 kB / 1.507 GB, free: 8.422 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5203, allocations: 0 / 1.507 GB, free: 8.422 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003843/0.5207, allocations: 83.88 kB / 1.507 GB, free: 8.34 MB / 1.201 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.0002368/0.5209, allocations: 147.1 kB / 1.507 GB, free: 8.184 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009363/0.5219, allocations: 362.6 kB / 1.507 GB, free: 7.816 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5219, allocations: 0 / 1.507 GB, free: 7.816 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.5224, allocations: 246.5 kB / 1.507 GB, free: 7.562 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.5231, allocations: 130.3 kB / 1.507 GB, free: 7.438 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.524, allocations: 0.5342 MB / 1.508 GB, free: 6.863 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.5243, allocations: 0.7675 MB / 1.509 GB, free: 6.07 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.5244, allocations: 23.44 kB / 1.509 GB, free: 6.047 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.5244, allocations: 4 kB / 1.509 GB, free: 6.043 MB / 1.201 GB Notification: Performance of Templates: time 0.007709/0.5321, allocations: 5.419 MB / 1.514 GB, free: 0.6484 MB / 1.201 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: 11.266484914987814]