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.0009493/0.0009493, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009843/0.0009843, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.969/1.969, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.062e-06/1.062e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.071e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.144/0.144, allocations: 145.7 MB / 0.9023 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1461, allocations: 1.648 MB / 0.9039 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1462, allocations: 15.88 kB / 0.904 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1465, allocations: 79.34 kB / 0.904 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.147, allocations: 318.2 kB / 0.9043 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.1477, allocations: 0.4905 MB / 0.9048 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.1481, allocations: 0.6205 MB / 0.9054 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004794/0.1486, allocations: 221.8 kB / 0.9056 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.1492, allocations: 423.5 kB / 0.906 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1494, allocations: 163.5 kB / 0.9062 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1494, allocations: 24 kB / 0.9062 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.1497, allocations: 275.4 kB / 0.9065 GB, free: 376 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.1498, allocations: 107.6 kB / 0.9066 GB, free: 268 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.1499, allocations: 91.77 kB / 0.9067 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.1503, allocations: 422.6 kB / 0.9071 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1503, allocations: 4 kB / 0.9071 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1503, allocations: 0 / 0.9071 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1503, allocations: 0 / 0.9071 GB, free: 15.75 MB / 0.8698 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.000531/0.1508, allocations: 0.5112 MB / 0.9076 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.1508, allocations: 8.031 kB / 0.9076 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.1512, allocations: 112.5 kB / 0.9077 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1514, allocations: 232.7 kB / 0.9079 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1514, allocations: 20.62 kB / 0.9079 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1515, allocations: 16 kB / 0.9079 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.1517, allocations: 287.9 kB / 0.9082 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1517, allocations: 0 / 0.9082 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1518, allocations: 12 kB / 0.9082 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1518, allocations: 4 kB / 0.9082 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.1519, allocations: 67.59 kB / 0.9083 GB, free: 14.41 MB / 0.8698 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.000681/0.1525, allocations: 0.7776 MB / 0.9091 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1527, allocations: 112.1 kB / 0.9092 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.1527, allocations: 39.66 kB / 0.9092 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.1529, allocations: 47.95 kB / 0.9092 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.1529, allocations: 34.56 kB / 0.9093 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1529, allocations: 0 / 0.9093 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0006932/0.1536, allocations: 253 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1536, allocations: 55.41 kB / 0.9096 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1537, allocations: 221 kB / 0.9098 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1537, allocations: 29.7 kB / 0.9098 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.1538, allocations: 156.8 kB / 0.91 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1538, allocations: 51.47 kB / 0.91 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.1539, allocations: 37.69 kB / 0.91 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.154, allocations: 330.8 kB / 0.9104 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.154, allocations: 22.77 kB / 0.9104 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.884e-05/0.1541, allocations: 83.53 kB / 0.9105 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.1541, allocations: 97.23 kB / 0.9106 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1541, allocations: 4 kB / 0.9106 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003246/0.1545, allocations: 176 kB / 0.9107 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.1545, allocations: 8 kB / 0.9107 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1545, allocations: 0 / 0.9107 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.1549, allocations: 127.6 kB / 0.9109 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.155, allocations: 39.91 kB / 0.9109 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.156, allocations: 1.341 MB / 0.9122 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.156, allocations: 27.88 kB / 0.9122 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1561, allocations: 4 kB / 0.9122 GB, free: 10.11 MB / 0.8698 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 7.218e-05/0.1561, allocations: 124.6 kB / 0.9124 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1562, allocations: 20 kB / 0.9124 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.1565, allocations: 192.4 kB / 0.9126 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1565, allocations: 0 / 0.9126 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-07/0.1565, allocations: 0 / 0.9126 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1565, allocations: 4 kB / 0.9126 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005945/0.1571, allocations: 0.5047 MB / 0.9131 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1571, allocations: 12.03 kB / 0.9131 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.1572, allocations: 23.98 kB / 0.9131 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/0.1575, allocations: 118.4 kB / 0.9132 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1575, allocations: 8 kB / 0.9132 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008105/0.1583, allocations: 1.349 MB / 0.9145 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1583, allocations: 0 / 0.9145 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1586, allocations: 335.6 kB / 0.9148 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1587, allocations: 27.78 kB / 0.9149 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1587, allocations: 8 kB / 0.9149 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.1588, allocations: 15.98 kB / 0.9149 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1588, allocations: 19.97 kB / 0.9149 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1588, allocations: 4 kB / 0.9149 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.1589, allocations: 74.72 kB / 0.915 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 4 kB / 0.915 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000218/0.1591, allocations: 87.77 kB / 0.9151 GB, free: 6.984 MB / 0.8698 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.0001653/0.1593, allocations: 108.3 kB / 0.9152 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.1595, allocations: 215 kB / 0.9154 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1595, allocations: 0 / 0.9154 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1597, allocations: 190.5 kB / 0.9156 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.16, allocations: 120.8 kB / 0.9157 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.1607, allocations: 477.5 kB / 0.9161 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1609, allocations: 96.3 kB / 0.9162 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.506e-05/0.161, allocations: 21.95 kB / 0.9163 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.1612, allocations: 129.3 kB / 0.9164 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of SimCode: time 5.31e-07/0.1612, allocations: 0 / 0.9164 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.007161/0.1683, allocations: 5.826 MB / 0.9221 GB, free: 15.86 MB / 0.8855 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 -s gbode -gbm=radauIIA3 -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.455929105170071]