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.001011/0.001011, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001611/0.001611, allocations: 169 kB / 24.28 MB, free: 276 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.9531/0.9531, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.968/1.968, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.843e-06/1.843e-06, allocations: 0 / 0.8115 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.952e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1384/0.1384, allocations: 157.5 MB / 0.9654 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00369/0.1421, allocations: 3.576 MB / 0.9689 GB, free: 392 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1423, allocations: 15.88 kB / 0.9689 GB, free: 376 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.1427, allocations: 138.9 kB / 0.969 GB, free: 236 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009702/0.1437, allocations: 462.5 kB / 0.9695 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1448, allocations: 0.6305 MB / 0.9701 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.1453, allocations: 0.6194 MB / 0.9707 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.1456, allocations: 192.9 kB / 0.9709 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.1469, allocations: 0.6201 MB / 0.9715 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1471, allocations: 171.5 kB / 0.9717 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.1471, allocations: 24 kB / 0.9717 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.1477, allocations: 474.6 kB / 0.9721 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.1478, allocations: 99.7 kB / 0.9722 GB, free: 13 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.1479, allocations: 99.75 kB / 0.9723 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.1487, allocations: 0.4945 MB / 0.9728 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1487, allocations: 0 / 0.9728 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/0.1487, allocations: 4 kB / 0.9728 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1487, allocations: 0 / 0.9728 GB, free: 12.4 MB / 0.9323 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.0008703/0.1496, allocations: 0.6471 MB / 0.9734 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1496, allocations: 8.031 kB / 0.9734 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.1502, allocations: 123.4 kB / 0.9736 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.1505, allocations: 254.9 kB / 0.9738 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1506, allocations: 20.5 kB / 0.9738 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1506, allocations: 20 kB / 0.9738 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.151, allocations: 303.3 kB / 0.9741 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.151, allocations: 0 / 0.9741 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.1511, allocations: 12 kB / 0.9741 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1511, allocations: 4 kB / 0.9742 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.1513, allocations: 84.98 kB / 0.9742 GB, free: 10.84 MB / 0.9323 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.001255/0.1525, allocations: 1.138 MB / 0.9753 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1527, allocations: 87.09 kB / 0.9754 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.1528, allocations: 47.17 kB / 0.9755 GB, free: 9.496 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.1531, allocations: 71.92 kB / 0.9755 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1531, allocations: 37.39 kB / 0.9756 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 1.552e-06/0.1531, allocations: 0 / 0.9756 GB, free: 9.379 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.001136/0.1543, allocations: 297 kB / 0.9759 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1543, allocations: 55.41 kB / 0.9759 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1545, allocations: 272.2 kB / 0.9762 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1546, allocations: 29.7 kB / 0.9762 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1547, allocations: 219.1 kB / 0.9764 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1547, allocations: 55.47 kB / 0.9765 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.1548, allocations: 43.36 kB / 0.9765 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1549, allocations: 0.5001 MB / 0.977 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.012e-05/0.155, allocations: 23.98 kB / 0.977 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1551, allocations: 104.1 kB / 0.9771 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1553, allocations: 118.4 kB / 0.9772 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1553, allocations: 0 / 0.9772 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005385/0.1558, allocations: 205 kB / 0.9774 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1558, allocations: 7.938 kB / 0.9774 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1558, allocations: 4 kB / 0.9774 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.1564, allocations: 131.7 kB / 0.9776 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1566, allocations: 35.92 kB / 0.9776 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.1583, allocations: 1.913 MB / 0.9795 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1585, allocations: 19.89 kB / 0.9795 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1585, allocations: 11.98 kB / 0.9795 GB, free: 5.109 MB / 0.9323 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.0001224/0.1586, allocations: 172.5 kB / 0.9797 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1587, allocations: 27.86 kB / 0.9797 GB, free: 4.902 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/0.1592, allocations: 212 kB / 0.9799 GB, free: 4.684 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1592, allocations: 4 kB / 0.9799 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1592, allocations: 3.938 kB / 0.9799 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1592, allocations: 4 kB / 0.9799 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.1601, allocations: 0.5778 MB / 0.9805 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1601, allocations: 0 / 0.9805 GB, free: 4.035 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1602, allocations: 27.98 kB / 0.9805 GB, free: 4.008 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/0.1607, allocations: 123.6 kB / 0.9806 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1608, allocations: 7.938 kB / 0.9806 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.1623, allocations: 1.925 MB / 0.9825 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1623, allocations: 3.984 kB / 0.9825 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.1629, allocations: 372.1 kB / 0.9829 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.1629, allocations: 39.84 kB / 0.9829 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.163, allocations: 12.02 kB / 0.9829 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1631, allocations: 12 kB / 0.9829 GB, free: 1.359 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.1632, allocations: 23.89 kB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1632, allocations: 8 kB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001209/0.1633, allocations: 193.1 kB / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1633, allocations: 0 / 0.9831 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004294/0.1638, allocations: 87.78 kB / 0.9832 GB, free: 1.055 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.0002734/0.164, allocations: 147.1 kB / 0.9834 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.1645, allocations: 293.3 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1645, allocations: 0 / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1648, allocations: 249.3 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.1653, allocations: 116.6 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1665, allocations: 485.9 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.1665, allocations: 96.3 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000156/0.1667, allocations: 45.92 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.1667, allocations: 20.5 kB / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/0.1667, allocations: 0 / 0.9846 GB, free: 15.52 MB / 0.948 GB Notification: Performance of Templates: time 0.009503/0.1762, allocations: 5.732 MB / 0.9902 GB, free: 9.918 MB / 0.948 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.65784698096104]