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.0009867/0.0009867, allocations: 80.81 kB / 20.75 MB, free: 3.73 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.0009638/0.0009638, allocations: 161 kB / 24.17 MB, free: 316 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 0.9697/0.9697, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.907/1.907, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.302e-06/1.302e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.822e-05, allocations: 6.578 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1395/0.1395, allocations: 145.6 MB / 0.9022 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1417, allocations: 1.652 MB / 0.9039 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1419, allocations: 11.88 kB / 0.9039 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.1421, allocations: 79.34 kB / 0.9039 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.1427, allocations: 318.2 kB / 0.9042 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.1436, allocations: 0.5061 MB / 0.9047 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.1441, allocations: 0.6165 MB / 0.9053 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1443, allocations: 198.8 kB / 0.9055 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.1451, allocations: 432.2 kB / 0.9059 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1453, allocations: 167.5 kB / 0.9061 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.1453, allocations: 24 kB / 0.9061 GB, free: 0.7148 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.1457, allocations: 267.4 kB / 0.9064 GB, free: 464 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.1457, allocations: 103.6 kB / 0.9065 GB, free: 360 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.1458, allocations: 95.77 kB / 0.9066 GB, free: 264 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.1463, allocations: 414.7 kB / 0.907 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1463, allocations: 4 kB / 0.907 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1463, allocations: 0 / 0.907 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1463, allocations: 0 / 0.907 GB, free: 15.84 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.0005422/0.1468, allocations: 0.5111 MB / 0.9075 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1468, allocations: 8.031 kB / 0.9075 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/0.1472, allocations: 112.5 kB / 0.9076 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1474, allocations: 240.7 kB / 0.9078 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1474, allocations: 16.62 kB / 0.9078 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1475, allocations: 20 kB / 0.9079 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1478, allocations: 283.9 kB / 0.9081 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1478, allocations: 0 / 0.9081 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1478, allocations: 8 kB / 0.9081 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1478, allocations: 8 kB / 0.9081 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.1479, allocations: 67.61 kB / 0.9082 GB, free: 14.5 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.0006955/0.1486, allocations: 0.775 MB / 0.909 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1487, allocations: 120.1 kB / 0.9091 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1487, allocations: 35.67 kB / 0.9091 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.1489, allocations: 43.95 kB / 0.9091 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1489, allocations: 34.56 kB / 0.9092 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1489, allocations: 0 / 0.9092 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.000666/0.1496, allocations: 262.3 kB / 0.9094 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.1496, allocations: 51.41 kB / 0.9095 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1497, allocations: 217 kB / 0.9097 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1497, allocations: 25.7 kB / 0.9097 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.662e-05/0.1498, allocations: 156.8 kB / 0.9099 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1498, allocations: 55.53 kB / 0.9099 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.1499, allocations: 37.69 kB / 0.91 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.1499, allocations: 338.7 kB / 0.9103 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.15, allocations: 18.77 kB / 0.9103 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.15, allocations: 80 kB / 0.9104 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1502, allocations: 96.45 kB / 0.9105 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1502, allocations: 0 / 0.9105 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003033/0.1505, allocations: 179.9 kB / 0.9106 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.1505, allocations: 4 kB / 0.9106 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1505, allocations: 0 / 0.9106 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005411/0.151, allocations: 131.7 kB / 0.9108 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1511, allocations: 35.92 kB / 0.9108 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.1522, allocations: 1.349 MB / 0.9121 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.1523, allocations: 27.88 kB / 0.9121 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1523, allocations: 4 kB / 0.9121 GB, free: 10.19 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.357e-05/0.1524, allocations: 120.6 kB / 0.9123 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1524, allocations: 19.97 kB / 0.9123 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.1527, allocations: 188.5 kB / 0.9125 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1527, allocations: 4 kB / 0.9125 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1527, allocations: 0 / 0.9125 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1527, allocations: 0 / 0.9125 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.1533, allocations: 0.5009 MB / 0.9129 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1533, allocations: 0 / 0.9129 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.1533, allocations: 23.98 kB / 0.913 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.1536, allocations: 134.4 kB / 0.9131 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1536, allocations: 4 kB / 0.9131 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/0.1545, allocations: 1.353 MB / 0.9144 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1545, allocations: 0 / 0.9144 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1548, allocations: 331.6 kB / 0.9147 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1549, allocations: 35.78 kB / 0.9148 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1549, allocations: 0 / 0.9148 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.155, allocations: 12 kB / 0.9148 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.155, allocations: 23.95 kB / 0.9148 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.155, allocations: 4 kB / 0.9148 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.1551, allocations: 74.77 kB / 0.9149 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.1551, allocations: 0 / 0.9149 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002394/0.1553, allocations: 103.7 kB / 0.915 GB, free: 7.07 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.000169/0.1555, allocations: 104.3 kB / 0.9151 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.1558, allocations: 213.2 kB / 0.9153 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.1558, allocations: 8 kB / 0.9153 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1559, allocations: 175.3 kB / 0.9155 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1562, allocations: 111.2 kB / 0.9156 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.1569, allocations: 487.8 kB / 0.916 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.467e-05/0.157, allocations: 92.3 kB / 0.9161 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.718e-05/0.1571, allocations: 33.97 kB / 0.9162 GB, free: 5.785 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1573, allocations: 129.3 kB / 0.9163 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/0.1573, allocations: 0 / 0.9163 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.007238/0.1645, allocations: 5.833 MB / 0.922 GB, free: 15.94 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 -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.345264442730695]