Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001415/0.001415, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001444/0.001444, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9436/0.9436, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.097/2.097, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.854e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1395/0.1396, allocations: 157.5 MB / 1.032 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1428, allocations: 3.532 MB / 1.036 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.143, allocations: 19.88 kB / 1.036 GB, free: 4.945 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.1434, allocations: 138.9 kB / 1.036 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009274/0.1443, allocations: 457.5 kB / 1.036 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1453, allocations: 0.6188 MB / 1.037 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005133/0.1458, allocations: 0.6009 MB / 1.037 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.1461, allocations: 181 kB / 1.037 GB, free: 2.957 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1474, allocations: 0.6184 MB / 1.038 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.1476, allocations: 175.5 kB / 1.038 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.1477, allocations: 24 kB / 1.038 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.1483, allocations: 482.6 kB / 1.039 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.1484, allocations: 99.64 kB / 1.039 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.1485, allocations: 95.81 kB / 1.039 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.149, allocations: 498.4 kB / 1.039 GB, free: 1.027 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.149, allocations: 4 kB / 1.039 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.149, allocations: 0 / 1.039 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.149, allocations: 0 / 1.039 GB, free: 1.023 MB / 0.9948 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.0007014/0.1497, allocations: 0.651 MB / 1.04 GB, free: 344 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1498, allocations: 8.031 kB / 1.04 GB, free: 336 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.1503, allocations: 119.4 kB / 1.04 GB, free: 216 kB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1506, allocations: 251.1 kB / 1.04 GB, free: 15.94 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1506, allocations: 16.5 kB / 1.04 GB, free: 15.92 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1506, allocations: 20 kB / 1.04 GB, free: 15.9 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.151, allocations: 307.2 kB / 1.041 GB, free: 15.56 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.151, allocations: 0 / 1.041 GB, free: 15.56 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.151, allocations: 8 kB / 1.041 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.151, allocations: 8 kB / 1.041 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.1512, allocations: 81.02 kB / 1.041 GB, free: 15.47 MB / 1.01 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.001087/0.1522, allocations: 1.131 MB / 1.042 GB, free: 14.28 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1525, allocations: 83.09 kB / 1.042 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.098e-05/0.1525, allocations: 43.67 kB / 1.042 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.1528, allocations: 67.94 kB / 1.042 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1528, allocations: 41.33 kB / 1.042 GB, free: 14.02 MB / 1.01 GB Notification: Performance of pre-optimization done (n=14): time 6.131e-06/0.1529, allocations: 4 kB / 1.042 GB, free: 14.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=14): time 0.000979/0.1538, allocations: 292.9 kB / 1.042 GB, free: 13.72 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1539, allocations: 51.41 kB / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1541, allocations: 280.2 kB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1541, allocations: 29.7 kB / 1.043 GB, free: 13.33 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1542, allocations: 223 kB / 1.043 GB, free: 13.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1542, allocations: 47.64 kB / 1.043 GB, free: 13.05 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.1543, allocations: 47.31 kB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1544, allocations: 0.5079 MB / 1.044 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1545, allocations: 19.98 kB / 1.044 GB, free: 12.46 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1546, allocations: 102.3 kB / 1.044 GB, free: 12.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1547, allocations: 118 kB / 1.044 GB, free: 12.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.1547, allocations: 0 / 1.044 GB, free: 12.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004394/0.1552, allocations: 201.1 kB / 1.044 GB, free: 12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1552, allocations: 7.938 kB / 1.044 GB, free: 11.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1552, allocations: 7.984 kB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.1557, allocations: 131.7 kB / 1.044 GB, free: 11.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1558, allocations: 31.92 kB / 1.044 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.1573, allocations: 1.917 MB / 1.046 GB, free: 9.773 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.1574, allocations: 23.88 kB / 1.046 GB, free: 9.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1574, allocations: 8 kB / 1.046 GB, free: 9.742 MB / 1.01 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.0001026/0.1575, allocations: 168.5 kB / 1.046 GB, free: 9.566 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1575, allocations: 27.86 kB / 1.046 GB, free: 9.539 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.1579, allocations: 214.9 kB / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1579, allocations: 0 / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1579, allocations: 3.938 kB / 1.046 GB, free: 9.316 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1579, allocations: 0 / 1.046 GB, free: 9.316 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.1586, allocations: 0.5817 MB / 1.047 GB, free: 8.676 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1586, allocations: 0 / 1.047 GB, free: 8.676 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.1587, allocations: 28.17 kB / 1.047 GB, free: 8.648 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003471/0.1591, allocations: 127.6 kB / 1.047 GB, free: 8.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1591, allocations: 8 kB / 1.047 GB, free: 8.512 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.1602, allocations: 1.925 MB / 1.049 GB, free: 6.461 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1602, allocations: 0 / 1.049 GB, free: 6.461 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.1605, allocations: 369.2 kB / 1.049 GB, free: 6.066 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1606, allocations: 47.77 kB / 1.049 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1606, allocations: 0 / 1.049 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.1607, allocations: 15.98 kB / 1.049 GB, free: 6.004 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.1608, allocations: 23.91 kB / 1.049 GB, free: 5.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1608, allocations: 4 kB / 1.049 GB, free: 5.977 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.926e-05/0.1609, allocations: 193.1 kB / 1.05 GB, free: 5.789 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1609, allocations: 0 / 1.05 GB, free: 5.789 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002625/0.1611, allocations: 91.83 kB / 1.05 GB, free: 5.699 MB / 1.01 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.0002334/0.1614, allocations: 151.2 kB / 1.05 GB, free: 5.543 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.1618, allocations: 285.1 kB / 1.05 GB, free: 5.246 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1618, allocations: 3.938 kB / 1.05 GB, free: 5.242 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.162, allocations: 257.8 kB / 1.05 GB, free: 4.969 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1623, allocations: 108.6 kB / 1.051 GB, free: 4.863 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008478/0.1632, allocations: 477.8 kB / 1.051 GB, free: 4.352 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.1632, allocations: 96.3 kB / 1.051 GB, free: 4.238 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.988e-05/0.1633, allocations: 41.61 kB / 1.051 GB, free: 4.195 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1634, allocations: 24.5 kB / 1.051 GB, free: 4.172 MB / 1.01 GB Notification: Performance of SimCode: time 9.02e-07/0.1634, allocations: 0 / 1.051 GB, free: 4.172 MB / 1.01 GB Notification: Performance of Templates: time 0.4093/0.5727, allocations: 5.522 MB / 1.057 GB, free: 62.54 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.126229349989444]