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.0008812/0.0008812, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.00221, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001061/0.001061, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002289, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9635/0.9635, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09836/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.828/1.828, allocations: 378.3 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5303/2.358, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 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.392e-06/1.392e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.97e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1408/0.1408, allocations: 146.1 MB / 0.8723 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1433, allocations: 1.663 MB / 0.874 GB, free: 308 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.1434, allocations: 19.81 kB / 0.874 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.1436, allocations: 75.34 kB / 0.8741 GB, free: 212 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.1442, allocations: 318.2 kB / 0.8744 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.145, allocations: 486.4 kB / 0.8748 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.1455, allocations: 0.6127 MB / 0.8754 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.1461, allocations: 216.6 kB / 0.8756 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006613/0.1467, allocations: 450.8 kB / 0.8761 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1469, allocations: 171.5 kB / 0.8762 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1469, allocations: 28 kB / 0.8762 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1473, allocations: 271.4 kB / 0.8765 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.1474, allocations: 87.7 kB / 0.8766 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.1475, allocations: 79.81 kB / 0.8767 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.1479, allocations: 362.8 kB / 0.877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1479, allocations: 0 / 0.877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1479, allocations: 0 / 0.877 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.1479, allocations: 0 / 0.877 GB, free: 13.22 MB / 0.8542 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.0006209/0.1486, allocations: 0.5889 MB / 0.8776 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1486, allocations: 12.03 kB / 0.8776 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.149, allocations: 189.7 kB / 0.8778 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1492, allocations: 236.7 kB / 0.878 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1493, allocations: 24.61 kB / 0.878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1493, allocations: 20 kB / 0.878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.1496, allocations: 283.9 kB / 0.8783 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1496, allocations: 0 / 0.8783 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1496, allocations: 4 kB / 0.8783 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1496, allocations: 8 kB / 0.8783 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.851e-05/0.1497, allocations: 71.84 kB / 0.8784 GB, free: 11.7 MB / 0.8542 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.000705/0.1504, allocations: 0.7673 MB / 0.8791 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1505, allocations: 112.1 kB / 0.8793 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.1506, allocations: 39.67 kB / 0.8793 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.1507, allocations: 39.95 kB / 0.8793 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1508, allocations: 46.5 kB / 0.8794 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.1508, allocations: 0 / 0.8794 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.000674/0.1514, allocations: 253 kB / 0.8796 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1515, allocations: 59.34 kB / 0.8797 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1516, allocations: 213 kB / 0.8799 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1516, allocations: 29.7 kB / 0.8799 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1517, allocations: 156.8 kB / 0.8801 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1517, allocations: 55.52 kB / 0.8801 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.1517, allocations: 37.69 kB / 0.8801 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.1518, allocations: 326.8 kB / 0.8805 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.404e-05/0.1519, allocations: 26.81 kB / 0.8805 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.254e-05/0.1519, allocations: 77.97 kB / 0.8806 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.152, allocations: 89.84 kB / 0.8806 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.152, allocations: 0 / 0.8806 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003106/0.1523, allocations: 179.9 kB / 0.8808 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1523, allocations: 4 kB / 0.8808 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1524, allocations: 0 / 0.8808 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.1527, allocations: 143.6 kB / 0.881 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.1528, allocations: 35.98 kB / 0.881 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.1539, allocations: 1.336 MB / 0.8823 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.154, allocations: 23.88 kB / 0.8823 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.154, allocations: 11.97 kB / 0.8823 GB, free: 7.398 MB / 0.8542 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.0001464/0.1542, allocations: 116.7 kB / 0.8824 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1542, allocations: 27.91 kB / 0.8825 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.1545, allocations: 189.1 kB / 0.8826 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1545, allocations: 8 kB / 0.8827 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1545, allocations: 192 / 0.8827 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1545, allocations: 0 / 0.8827 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.155, allocations: 0.5047 MB / 0.8831 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.155, allocations: 4 kB / 0.8831 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.1551, allocations: 27.92 kB / 0.8832 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.1552, allocations: 35.78 kB / 0.8832 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003/0.1555, allocations: 126.5 kB / 0.8833 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1555, allocations: 4 kB / 0.8833 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009482/0.1564, allocations: 1.345 MB / 0.8846 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1564, allocations: 4 kB / 0.8847 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1567, allocations: 323.6 kB / 0.885 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1567, allocations: 8 kB / 0.885 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.1568, allocations: 11.98 kB / 0.885 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1569, allocations: 19.91 kB / 0.885 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1569, allocations: 11.98 kB / 0.885 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.1569, allocations: 74.72 kB / 0.8851 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1569, allocations: 0 / 0.8851 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002564/0.1572, allocations: 91.77 kB / 0.8852 GB, free: 4.281 MB / 0.8542 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.0002287/0.1574, allocations: 116.5 kB / 0.8853 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.1577, allocations: 214.9 kB / 0.8855 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.1578, allocations: 4 kB / 0.8855 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1579, allocations: 191.7 kB / 0.8857 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.1584, allocations: 0.576 MB / 0.8862 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1602, allocations: 491.2 kB / 0.8867 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.146e-05/0.1603, allocations: 92.3 kB / 0.8868 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.1604, allocations: 33.94 kB / 0.8868 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.1606, allocations: 125.2 kB / 0.8869 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/0.1606, allocations: 0 / 0.8869 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.007974/0.1686, allocations: 6.062 MB / 0.8929 GB, free: 12.31 MB / 0.8699 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.270155138336122]