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.0009853/0.0009853, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001072/0.001072, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.549/2.549, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.413e-06/1.413e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.71e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1405/0.1406, allocations: 145.6 MB / 0.9809 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.1429, allocations: 1.642 MB / 0.9825 GB, free: 10.29 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.1431, allocations: 11.88 kB / 0.9825 GB, free: 10.27 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1434, allocations: 79.3 kB / 0.9826 GB, free: 10.2 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006922/0.1441, allocations: 322.1 kB / 0.9829 GB, free: 9.879 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009028/0.145, allocations: 482.4 kB / 0.9833 GB, free: 9.406 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005542/0.1455, allocations: 0.6048 MB / 0.9839 GB, free: 8.801 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.1461, allocations: 207.4 kB / 0.9841 GB, free: 8.613 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.1468, allocations: 411.2 kB / 0.9845 GB, free: 8.246 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.147, allocations: 167.5 kB / 0.9847 GB, free: 8.082 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.147, allocations: 24 kB / 0.9847 GB, free: 8.059 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.1474, allocations: 275.3 kB / 0.9849 GB, free: 7.789 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.1475, allocations: 107.7 kB / 0.985 GB, free: 7.684 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.1476, allocations: 95.75 kB / 0.9851 GB, free: 7.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.1482, allocations: 410.7 kB / 0.9855 GB, free: 7.188 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1482, allocations: 0 / 0.9855 GB, free: 7.188 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1482, allocations: 0 / 0.9855 GB, free: 7.188 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1482, allocations: 0 / 0.9855 GB, free: 7.188 MB / 0.948 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.0006227/0.1488, allocations: 0.5108 MB / 0.986 GB, free: 6.652 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1488, allocations: 12.03 kB / 0.986 GB, free: 6.641 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.1492, allocations: 112.6 kB / 0.9861 GB, free: 6.531 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1495, allocations: 228.7 kB / 0.9864 GB, free: 6.277 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1495, allocations: 20.62 kB / 0.9864 GB, free: 6.258 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.1495, allocations: 20 kB / 0.9864 GB, free: 6.238 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1498, allocations: 283.9 kB / 0.9867 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1498, allocations: 0 / 0.9867 GB, free: 5.922 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1498, allocations: 7.984 kB / 0.9867 GB, free: 5.914 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1498, allocations: 8 kB / 0.9867 GB, free: 5.906 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.1499, allocations: 67.86 kB / 0.9868 GB, free: 5.84 MB / 0.948 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.0007639/0.1507, allocations: 0.7659 MB / 0.9875 GB, free: 5.035 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1508, allocations: 116.1 kB / 0.9876 GB, free: 4.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.1509, allocations: 47.66 kB / 0.9877 GB, free: 4.859 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.151, allocations: 39.95 kB / 0.9877 GB, free: 4.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.151, allocations: 38.56 kB / 0.9877 GB, free: 4.773 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.151, allocations: 0 / 0.9877 GB, free: 4.773 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0007313/0.1518, allocations: 253 kB / 0.988 GB, free: 4.516 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.1518, allocations: 55.41 kB / 0.988 GB, free: 4.449 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1519, allocations: 205 kB / 0.9882 GB, free: 4.238 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1519, allocations: 25.7 kB / 0.9883 GB, free: 4.207 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.152, allocations: 164.7 kB / 0.9884 GB, free: 4.043 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.152, allocations: 51.47 kB / 0.9885 GB, free: 3.992 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.1521, allocations: 37.69 kB / 0.9885 GB, free: 3.949 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.1522, allocations: 334.8 kB / 0.9888 GB, free: 3.613 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.1522, allocations: 26.72 kB / 0.9888 GB, free: 3.586 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.1523, allocations: 77.97 kB / 0.9889 GB, free: 3.488 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.1524, allocations: 89.86 kB / 0.989 GB, free: 3.383 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1524, allocations: 0 / 0.989 GB, free: 3.383 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003341/0.1527, allocations: 179 kB / 0.9892 GB, free: 3.199 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.1527, allocations: 4 kB / 0.9892 GB, free: 3.195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1527, allocations: 0 / 0.9892 GB, free: 3.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.1532, allocations: 135.7 kB / 0.9893 GB, free: 3.059 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1533, allocations: 39.92 kB / 0.9893 GB, free: 3.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.1545, allocations: 1.346 MB / 0.9907 GB, free: 1.574 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.1546, allocations: 23.98 kB / 0.9907 GB, free: 1.551 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1546, allocations: 7.984 kB / 0.9907 GB, free: 1.543 MB / 0.948 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 8.026e-05/0.1546, allocations: 124.5 kB / 0.9908 GB, free: 1.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1547, allocations: 15.98 kB / 0.9908 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.155, allocations: 190.8 kB / 0.991 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.155, allocations: 4 kB / 0.991 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.155, allocations: 0 / 0.991 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.155, allocations: 0 / 0.991 GB, free: 1.191 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.1556, allocations: 0.5009 MB / 0.9915 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1556, allocations: 3.938 kB / 0.9915 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.222e-05/0.1557, allocations: 23.98 kB / 0.9915 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/0.156, allocations: 134.5 kB / 0.9916 GB, free: 496 kB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.156, allocations: 4 kB / 0.9917 GB, free: 492 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.157, allocations: 1.341 MB / 0.993 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.157, allocations: 4 kB / 0.993 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.1575, allocations: 331.6 kB / 0.9933 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.1576, allocations: 31.84 kB / 0.9933 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1576, allocations: 8 kB / 0.9933 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.1577, allocations: 11.98 kB / 0.9933 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1577, allocations: 19.91 kB / 0.9933 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1577, allocations: 8 kB / 0.9934 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.1578, allocations: 66.78 kB / 0.9934 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1578, allocations: 0 / 0.9934 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002586/0.1581, allocations: 99.7 kB / 0.9935 GB, free: 14.43 MB / 0.9636 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.0001751/0.1582, allocations: 116.3 kB / 0.9936 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.1585, allocations: 203 kB / 0.9938 GB, free: 14.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1585, allocations: 256 / 0.9938 GB, free: 14.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.1587, allocations: 187.2 kB / 0.994 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1591, allocations: 111 kB / 0.9941 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.1598, allocations: 478.1 kB / 0.9946 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.1599, allocations: 92.3 kB / 0.9946 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.16, allocations: 29.62 kB / 0.9947 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.1602, allocations: 121.3 kB / 0.9948 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.1602, allocations: 0 / 0.9948 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of Templates: time 0.007823/0.168, allocations: 5.649 MB / 1 GB, free: 7.484 MB / 0.9636 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.870350404176861]