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.001605/0.001605, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001845/0.001845, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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.047/1.047, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.86/1.86, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.241e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1342/0.1342, allocations: 146.2 MB / 0.9299 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1364, allocations: 1.621 MB / 0.9315 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1366, allocations: 15.88 kB / 0.9315 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.137, allocations: 79.28 kB / 0.9316 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.1378, allocations: 314.2 kB / 0.9319 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.1387, allocations: 0.4983 MB / 0.9324 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.1392, allocations: 0.6243 MB / 0.933 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.1395, allocations: 192.9 kB / 0.9332 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009225/0.1404, allocations: 435.6 kB / 0.9336 GB, free: 6.035 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1406, allocations: 183.4 kB / 0.9338 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.1407, allocations: 20 kB / 0.9338 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.141, allocations: 271.3 kB / 0.934 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.1411, allocations: 111.7 kB / 0.9342 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.1412, allocations: 95.77 kB / 0.9342 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.1417, allocations: 410.6 kB / 0.9346 GB, free: 4.965 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1417, allocations: 3.938 kB / 0.9346 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1417, allocations: 0 / 0.9346 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.1417, allocations: 0 / 0.9346 GB, free: 4.961 MB / 0.8855 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.0007529/0.1425, allocations: 0.6321 MB / 0.9353 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1425, allocations: 16.03 kB / 0.9353 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/0.1429, allocations: 124.3 kB / 0.9354 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1432, allocations: 255.5 kB / 0.9356 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1432, allocations: 16.62 kB / 0.9356 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1433, allocations: 20 kB / 0.9357 GB, free: 3.844 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.1436, allocations: 311.3 kB / 0.936 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1436, allocations: 0 / 0.936 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.1437, allocations: 12 kB / 0.936 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1437, allocations: 4 kB / 0.936 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1438, allocations: 88.94 kB / 0.9361 GB, free: 3.398 MB / 0.8855 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.001/0.1448, allocations: 1.131 MB / 0.9372 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.145, allocations: 87.09 kB / 0.9373 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.145, allocations: 39.67 kB / 0.9373 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.1452, allocations: 55.94 kB / 0.9373 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1453, allocations: 37.33 kB / 0.9374 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.1453, allocations: 0 / 0.9374 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0008661/0.1461, allocations: 308.2 kB / 0.9377 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.1461, allocations: 51.41 kB / 0.9377 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1463, allocations: 268.3 kB / 0.938 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/0.1464, allocations: 29.7 kB / 0.938 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1465, allocations: 223 kB / 0.9382 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1465, allocations: 55.53 kB / 0.9383 GB, free: 1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.1466, allocations: 43.3 kB / 0.9383 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1467, allocations: 0.5078 MB / 0.9388 GB, free: 440 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.1468, allocations: 23.89 kB / 0.9388 GB, free: 416 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.1469, allocations: 104.1 kB / 0.9389 GB, free: 284 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.147, allocations: 110.4 kB / 0.939 GB, free: 152 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.147, allocations: 4 kB / 0.939 GB, free: 148 kB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004142/0.1474, allocations: 205 kB / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1474, allocations: 8 kB / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1475, allocations: 0 / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.1479, allocations: 143.7 kB / 0.9394 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.148, allocations: 31.92 kB / 0.9394 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1493, allocations: 1.907 MB / 0.9413 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.1494, allocations: 23.88 kB / 0.9413 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1494, allocations: 4 kB / 0.9413 GB, free: 13.7 MB / 0.9011 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 9.391e-05/0.1495, allocations: 168.5 kB / 0.9415 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.1497, allocations: 35.98 kB / 0.9415 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.15, allocations: 210.9 kB / 0.9417 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.15, allocations: 11.98 kB / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.15, allocations: 3.938 kB / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.15, allocations: 0 / 0.9417 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.1507, allocations: 0.5818 MB / 0.9423 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1507, allocations: 0 / 0.9423 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.1508, allocations: 27.92 kB / 0.9423 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.1511, allocations: 123.6 kB / 0.9424 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1511, allocations: 4 kB / 0.9424 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1522, allocations: 1.917 MB / 0.9443 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1522, allocations: 4 kB / 0.9443 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.1526, allocations: 366.3 kB / 0.9447 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.1526, allocations: 47.77 kB / 0.9447 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1527, allocations: 12.03 kB / 0.9447 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.1527, allocations: 15.98 kB / 0.9447 GB, free: 9.938 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1528, allocations: 19.97 kB / 0.9447 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1528, allocations: 7.938 kB / 0.9448 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.648e-05/0.1529, allocations: 193.1 kB / 0.9449 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1529, allocations: 0 / 0.9449 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002587/0.1532, allocations: 87.83 kB / 0.945 GB, free: 9.637 MB / 0.9011 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.0002121/0.1534, allocations: 139.3 kB / 0.9452 GB, free: 9.492 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.1538, allocations: 287.6 kB / 0.9454 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1538, allocations: 0 / 0.9454 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.154, allocations: 259.8 kB / 0.9457 GB, free: 8.922 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1543, allocations: 110.6 kB / 0.9458 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008435/0.1552, allocations: 482 kB / 0.9462 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.1552, allocations: 96.3 kB / 0.9463 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.1554, allocations: 45.92 kB / 0.9464 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.1554, allocations: 24.5 kB / 0.9464 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of SimCode: time 7.92e-07/0.1554, allocations: 0 / 0.9464 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of Templates: time 0.007082/0.1625, allocations: 5.537 MB / 0.9518 GB, free: 2.703 MB / 0.9011 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.671210123226047]