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.001023/0.001023, allocations: 83.59 kB / 20.45 MB, free: 4.105 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.0009802/0.0009802, allocations: 165 kB / 23.82 MB, free: 0.7344 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.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.215 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.228e-06/4.228e-06, allocations: 4 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.781e-05, allocations: 5.625 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1252/0.1252, allocations: 146.2 MB / 0.9544 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1275, allocations: 1.636 MB / 0.956 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1277, allocations: 15.88 kB / 0.956 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.128, allocations: 75.3 kB / 0.9561 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006925/0.1287, allocations: 314.2 kB / 0.9564 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.1296, allocations: 0.5022 MB / 0.9568 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.1302, allocations: 0.6205 MB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.1305, allocations: 192.9 kB / 0.9576 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008965/0.1314, allocations: 446.4 kB / 0.9581 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1315, allocations: 175.5 kB / 0.9582 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.1316, allocations: 20 kB / 0.9583 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.1319, allocations: 275.4 kB / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.132, allocations: 95.72 kB / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.1321, allocations: 103.7 kB / 0.9587 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.1326, allocations: 410.7 kB / 0.9591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1326, allocations: 3.938 kB / 0.9591 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1326, allocations: 0 / 0.9591 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.1326, allocations: 4 kB / 0.9591 GB, free: 10.15 MB / 0.9167 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.0006673/0.1333, allocations: 0.632 MB / 0.9597 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1333, allocations: 16.02 kB / 0.9597 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.1337, allocations: 116.4 kB / 0.9598 GB, free: 9.352 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.134, allocations: 255.5 kB / 0.9601 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.134, allocations: 20.62 kB / 0.9601 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.134, allocations: 20 kB / 0.9601 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.1344, allocations: 303.3 kB / 0.9604 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1344, allocations: 4 kB / 0.9604 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1344, allocations: 8 kB / 0.9604 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1344, allocations: 4 kB / 0.9604 GB, free: 8.688 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1346, allocations: 80.77 kB / 0.9605 GB, free: 8.609 MB / 0.9167 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.0009233/0.1355, allocations: 1.142 MB / 0.9616 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1356, allocations: 87.05 kB / 0.9617 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.1357, allocations: 47.66 kB / 0.9618 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.1359, allocations: 47.94 kB / 0.9618 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1359, allocations: 45.31 kB / 0.9618 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1359, allocations: 4 kB / 0.9618 GB, free: 7.152 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0008653/0.1368, allocations: 288.9 kB / 0.9621 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.1368, allocations: 59.41 kB / 0.9622 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.137, allocations: 272.3 kB / 0.9624 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.137, allocations: 25.7 kB / 0.9625 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.1371, allocations: 227 kB / 0.9627 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1371, allocations: 51.53 kB / 0.9627 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1372, allocations: 43.38 kB / 0.9628 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1373, allocations: 0.5039 MB / 0.9633 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.1374, allocations: 23.98 kB / 0.9633 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.1375, allocations: 104.1 kB / 0.9634 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1376, allocations: 115.2 kB / 0.9635 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1376, allocations: 32 / 0.9635 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004036/0.138, allocations: 214 kB / 0.9637 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.138, allocations: 8 kB / 0.9637 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.138, allocations: 128 / 0.9637 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/0.1385, allocations: 135.5 kB / 0.9638 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.1386, allocations: 31.98 kB / 0.9639 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.14, allocations: 1.918 MB / 0.9657 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.555e-05/0.14, allocations: 19.89 kB / 0.9658 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1401, allocations: 8 kB / 0.9658 GB, free: 2.879 MB / 0.9167 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.582e-05/0.1402, allocations: 164.6 kB / 0.9659 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.1402, allocations: 31.8 kB / 0.966 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.1406, allocations: 214.9 kB / 0.9662 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1406, allocations: 4 kB / 0.9662 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.1406, allocations: 0 / 0.9662 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1406, allocations: 0 / 0.9662 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.1413, allocations: 0.5739 MB / 0.9667 GB, free: 1.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1413, allocations: 4 kB / 0.9667 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.1413, allocations: 35.84 kB / 0.9668 GB, free: 1.777 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/0.1417, allocations: 123.7 kB / 0.9669 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1417, allocations: 8 kB / 0.9669 GB, free: 1.645 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.1428, allocations: 1.917 MB / 0.9688 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1428, allocations: 4 kB / 0.9688 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.1433, allocations: 370.3 kB / 0.9691 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.1434, allocations: 43.92 kB / 0.9692 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1434, allocations: 7.922 kB / 0.9692 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1435, allocations: 15.98 kB / 0.9692 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.1436, allocations: 19.97 kB / 0.9692 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1436, allocations: 4 kB / 0.9692 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001115/0.1437, allocations: 201.1 kB / 0.9694 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1437, allocations: 0 / 0.9694 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002743/0.144, allocations: 91.81 kB / 0.9695 GB, free: 14.82 MB / 0.9323 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.0002082/0.1442, allocations: 138.2 kB / 0.9696 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1446, allocations: 287.4 kB / 0.9699 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1446, allocations: 0 / 0.9699 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1448, allocations: 249.3 kB / 0.9701 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1452, allocations: 116.6 kB / 0.9702 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.1459, allocations: 474.2 kB / 0.9707 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.159e-05/0.146, allocations: 100.1 kB / 0.9708 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.1461, allocations: 41.92 kB / 0.9708 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.1462, allocations: 28.48 kB / 0.9709 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of SimCode: time 6.51e-07/0.1462, allocations: 0 / 0.9709 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of Templates: time 0.007612/0.1538, allocations: 5.95 MB / 0.9767 GB, free: 7.488 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.5588185088709]