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.001061/0.001061, allocations: 87.69 kB / 20.46 MB, free: 4.133 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.001312/0.001312, allocations: 172.9 kB / 23.82 MB, free: 0.7656 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.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.995/1.995, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.323e-06/1.323e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.8e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1326/0.1326, allocations: 146.2 MB / 0.9544 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.1351, allocations: 1.64 MB / 0.956 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.1353, allocations: 15.88 kB / 0.956 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1356, allocations: 79.28 kB / 0.9561 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0008181/0.1365, allocations: 318.2 kB / 0.9564 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1375, allocations: 0.4944 MB / 0.9569 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006728/0.1382, allocations: 0.6204 MB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.1386, allocations: 196.9 kB / 0.9576 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1396, allocations: 438.9 kB / 0.9581 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1398, allocations: 171.5 kB / 0.9582 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.1398, allocations: 24 kB / 0.9582 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1403, allocations: 267.4 kB / 0.9585 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.1403, allocations: 103.7 kB / 0.9586 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.1404, allocations: 103.8 kB / 0.9587 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.141, allocations: 402.7 kB / 0.9591 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.141, allocations: 4 kB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.332e-06/0.141, allocations: 7.938 kB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.141, allocations: 0 / 0.9591 GB, free: 10.18 MB / 0.9167 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.0007275/0.1417, allocations: 0.6398 MB / 0.9597 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1418, allocations: 12.03 kB / 0.9597 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.1422, allocations: 116.4 kB / 0.9598 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1426, allocations: 255.5 kB / 0.9601 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1426, allocations: 24.62 kB / 0.9601 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.1426, allocations: 16 kB / 0.9601 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.1431, allocations: 303.3 kB / 0.9604 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1431, allocations: 0 / 0.9604 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1431, allocations: 12 kB / 0.9604 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1431, allocations: 4 kB / 0.9604 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1433, allocations: 84.77 kB / 0.9605 GB, free: 8.629 MB / 0.9167 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.001023/0.1443, allocations: 1.138 MB / 0.9616 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1445, allocations: 91.03 kB / 0.9617 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.1445, allocations: 43.67 kB / 0.9618 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.1447, allocations: 47.94 kB / 0.9618 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1448, allocations: 45.33 kB / 0.9618 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1448, allocations: 0 / 0.9618 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0009463/0.1457, allocations: 300.9 kB / 0.9621 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1458, allocations: 55.41 kB / 0.9622 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1459, allocations: 272.3 kB / 0.9624 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.146, allocations: 25.7 kB / 0.9625 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.1461, allocations: 223 kB / 0.9627 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.1461, allocations: 51.53 kB / 0.9627 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.1462, allocations: 43.36 kB / 0.9628 GB, free: 6.172 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1463, allocations: 0.504 MB / 0.9633 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.1464, allocations: 23.98 kB / 0.9633 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/0.1465, allocations: 104.1 kB / 0.9634 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1466, allocations: 115.8 kB / 0.9635 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1467, allocations: 0 / 0.9635 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004305/0.1471, allocations: 217.8 kB / 0.9637 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1471, allocations: 8 kB / 0.9637 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1471, allocations: 0 / 0.9637 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.1476, allocations: 135.7 kB / 0.9638 GB, free: 5.004 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1477, allocations: 31.98 kB / 0.9639 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1491, allocations: 1.91 MB / 0.9657 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.1492, allocations: 19.89 kB / 0.9658 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1492, allocations: 8 kB / 0.9658 GB, free: 2.906 MB / 0.9167 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.0001063/0.1493, allocations: 168.6 kB / 0.9659 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1494, allocations: 27.8 kB / 0.9659 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.1498, allocations: 218.9 kB / 0.9662 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1498, allocations: 8 kB / 0.9662 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1498, allocations: 0 / 0.9662 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1498, allocations: 3.938 kB / 0.9662 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007121/0.1505, allocations: 0.5701 MB / 0.9667 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1505, allocations: 7.984 kB / 0.9667 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.1506, allocations: 31.86 kB / 0.9668 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.1509, allocations: 119.7 kB / 0.9669 GB, free: 1.676 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1509, allocations: 0 / 0.9669 GB, free: 1.676 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1521, allocations: 1.925 MB / 0.9688 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1521, allocations: 3.938 kB / 0.9688 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.1525, allocations: 366.3 kB / 0.9691 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.1526, allocations: 39.78 kB / 0.9691 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1526, allocations: 19.91 kB / 0.9692 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.1527, allocations: 12.05 kB / 0.9692 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.1528, allocations: 27.97 kB / 0.9692 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1528, allocations: 7.984 kB / 0.9692 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001007/0.1529, allocations: 185.1 kB / 0.9694 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1529, allocations: 0 / 0.9694 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002823/0.1532, allocations: 95.81 kB / 0.9695 GB, free: 14.85 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.0002264/0.1534, allocations: 135.1 kB / 0.9696 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.1539, allocations: 283.1 kB / 0.9699 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1539, allocations: 4 kB / 0.9699 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1541, allocations: 253.8 kB / 0.9701 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.1545, allocations: 110.5 kB / 0.9702 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.1554, allocations: 483 kB / 0.9707 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.479e-05/0.1555, allocations: 96.16 kB / 0.9708 GB, free: 13.41 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.1556, allocations: 53.89 kB / 0.9708 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.1556, allocations: 24.5 kB / 0.9709 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of SimCode: time 6.11e-07/0.1556, allocations: 0 / 0.9709 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of Templates: time 0.007976/0.1636, allocations: 5.543 MB / 0.9763 GB, free: 7.914 MB / 0.9323 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.919246111065149]