Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001319/0.001319, allocations: 102.1 kB / 19.7 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.001607/0.001607, allocations: 223.8 kB / 23.01 MB, free: 4.609 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002065/0.002065, allocations: 66.73 kB / 1.119 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1969/0.5356, allocations: 165 MB / 1.446 GB, free: 5.59 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005505/0.5411, allocations: 3.544 MB / 1.449 GB, free: 2.031 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.5415, allocations: 19.81 kB / 1.449 GB, free: 2.012 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.5421, allocations: 131 kB / 1.449 GB, free: 1.883 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.5435, allocations: 485.8 kB / 1.45 GB, free: 1.406 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.5453, allocations: 0.6263 MB / 1.45 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008872/0.5462, allocations: 0.64 MB / 1.451 GB, free: 140 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.5466, allocations: 188.9 kB / 1.451 GB, free: 15.96 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.5481, allocations: 352.1 kB / 1.452 GB, free: 15.62 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.5484, allocations: 211.2 kB / 1.452 GB, free: 15.42 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.5484, allocations: 24 kB / 1.452 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.5496, allocations: 0.6001 MB / 1.452 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5497, allocations: 107.7 kB / 1.453 GB, free: 14.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.5499, allocations: 139.3 kB / 1.453 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009375/0.5508, allocations: 0.5528 MB / 1.453 GB, free: 14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5508, allocations: 0 / 1.453 GB, free: 14 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5508, allocations: 4 kB / 1.453 GB, free: 13.99 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.5508, allocations: 0 / 1.453 GB, free: 13.99 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.001135/0.552, allocations: 0.5806 MB / 1.454 GB, free: 13.38 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.552, allocations: 8.031 kB / 1.454 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005849/0.5526, allocations: 75.69 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.5531, allocations: 251.6 kB / 1.454 GB, free: 13.03 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.5531, allocations: 16.42 kB / 1.454 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.5531, allocations: 20 kB / 1.454 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.5538, allocations: 304.2 kB / 1.454 GB, free: 12.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5538, allocations: 3.938 kB / 1.454 GB, free: 12.67 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.5538, allocations: 12 kB / 1.454 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.5538, allocations: 7.938 kB / 1.454 GB, free: 12.65 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.5545, allocations: 252.9 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.5563, allocations: 1.214 MB / 1.456 GB, free: 11.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.5567, allocations: 163.9 kB / 1.456 GB, free: 10.92 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.557, allocations: 124.8 kB / 1.456 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/0.5575, allocations: 79.89 kB / 1.456 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5576, allocations: 30.56 kB / 1.456 GB, free: 10.68 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.5576, allocations: 0 / 1.456 GB, free: 10.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.002255/0.5598, allocations: 0.494 MB / 1.457 GB, free: 10.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5599, allocations: 63.34 kB / 1.457 GB, free: 10.1 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.5602, allocations: 264.2 kB / 1.457 GB, free: 9.824 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.5602, allocations: 25.7 kB / 1.457 GB, free: 9.793 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5604, allocations: 172.2 kB / 1.457 GB, free: 9.621 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.5604, allocations: 43.59 kB / 1.457 GB, free: 9.578 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.5605, allocations: 37.72 kB / 1.457 GB, free: 9.535 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5606, allocations: 330.8 kB / 1.458 GB, free: 9.203 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.5609, allocations: 107.8 kB / 1.458 GB, free: 9.098 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.5612, allocations: 129.9 kB / 1.458 GB, free: 8.957 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.5618, allocations: 242.2 kB / 1.458 GB, free: 8.707 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5618, allocations: 4 kB / 1.458 GB, free: 8.703 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001154/0.563, allocations: 350 kB / 1.458 GB, free: 8.352 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.563, allocations: 4 kB / 1.458 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.563, allocations: 7.984 kB / 1.458 GB, free: 8.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/0.5636, allocations: 84.89 kB / 1.458 GB, free: 8.254 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.5639, allocations: 43.91 kB / 1.459 GB, free: 8.211 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.5662, allocations: 1.627 MB / 1.46 GB, free: 6.469 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.5665, allocations: 39.86 kB / 1.46 GB, free: 6.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.5665, allocations: 12 kB / 1.46 GB, free: 6.418 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.0001828/0.5667, allocations: 142.3 kB / 1.46 GB, free: 6.27 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.5667, allocations: 27.84 kB / 1.46 GB, free: 6.242 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5679, allocations: 359.9 kB / 1.461 GB, free: 5.883 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5679, allocations: 0 / 1.461 GB, free: 5.883 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.5679, allocations: 4 kB / 1.461 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5679, allocations: 11.92 kB / 1.461 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5696, allocations: 0.7386 MB / 1.461 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5696, allocations: 4 kB / 1.461 GB, free: 5.062 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.5698, allocations: 39.95 kB / 1.461 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.5703, allocations: 76.88 kB / 1.462 GB, free: 4.945 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.5703, allocations: 3.938 kB / 1.462 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.5724, allocations: 1.651 MB / 1.463 GB, free: 3.168 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5724, allocations: 4.031 kB / 1.463 GB, free: 3.164 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.5736, allocations: 446.5 kB / 1.464 GB, free: 2.699 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.5737, allocations: 51.77 kB / 1.464 GB, free: 2.648 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.5738, allocations: 7.938 kB / 1.464 GB, free: 2.641 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.574, allocations: 27.91 kB / 1.464 GB, free: 2.613 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.5741, allocations: 20.11 kB / 1.464 GB, free: 2.594 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.5741, allocations: 11.94 kB / 1.464 GB, free: 2.582 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002081/0.5743, allocations: 187.1 kB / 1.464 GB, free: 2.402 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5743, allocations: 0 / 1.464 GB, free: 2.402 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004683/0.5748, allocations: 79.89 kB / 1.464 GB, free: 2.324 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.0003266/0.5751, allocations: 151.1 kB / 1.464 GB, free: 2.164 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.5762, allocations: 354.6 kB / 1.464 GB, free: 1.805 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5762, allocations: 0 / 1.464 GB, free: 1.805 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.5767, allocations: 258.7 kB / 1.465 GB, free: 1.539 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.5775, allocations: 118.9 kB / 1.465 GB, free: 1.426 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.5785, allocations: 0.5435 MB / 1.465 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.5789, allocations: 0.7752 MB / 1.466 GB, free: 44 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.579, allocations: 19.44 kB / 1.466 GB, free: 24 kB / 1.154 GB Notification: Performance of SimCode: time 5.01e-07/0.579, allocations: 0 / 1.466 GB, free: 24 kB / 1.154 GB Notification: Performance of Templates: time 0.00964/0.5886, allocations: 5.402 MB / 1.471 GB, free: 10.65 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.537326860008761]