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.001006/0.001006, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009579/0.0009579, allocations: 166.6 kB / 24.87 MB, free: 9.285 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 0.9617/0.9617, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.909/1.909, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.024e-06/2.024e-06, allocations: 4 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.302e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1156/0.1156, allocations: 143.5 MB / 0.9529 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1176, allocations: 1.639 MB / 0.9545 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.1178, allocations: 15.81 kB / 0.9545 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1181, allocations: 75.3 kB / 0.9546 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.1187, allocations: 318.2 kB / 0.9549 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.1197, allocations: 0.4983 MB / 0.9554 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.1202, allocations: 0.6283 MB / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1204, allocations: 184.9 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008734/0.1213, allocations: 440.7 kB / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1214, allocations: 175.5 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.067e-05/0.1215, allocations: 20 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.1218, allocations: 275.3 kB / 0.9571 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.1219, allocations: 99.7 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.122, allocations: 95.75 kB / 0.9573 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.1224, allocations: 410.7 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1224, allocations: 0 / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1224, allocations: 0 / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1224, allocations: 7.938 kB / 0.9577 GB, free: 12.63 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.0005856/0.123, allocations: 0.6475 MB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.123, allocations: 8.031 kB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.1234, allocations: 116.4 kB / 0.9584 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1236, allocations: 255.5 kB / 0.9586 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1236, allocations: 20.62 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1237, allocations: 20 kB / 0.9587 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1239, allocations: 287.3 kB / 0.959 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.124, allocations: 7.938 kB / 0.959 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.124, allocations: 16 kB / 0.959 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.124, allocations: 4 kB / 0.959 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1241, allocations: 64.77 kB / 0.959 GB, free: 11.11 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.000789/0.1249, allocations: 1.084 MB / 0.9601 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.125, allocations: 83.08 kB / 0.9602 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.1251, allocations: 35.67 kB / 0.9602 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.1252, allocations: 43.95 kB / 0.9603 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1252, allocations: 45.36 kB / 0.9603 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.1252, allocations: 4 kB / 0.9603 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0007796/0.126, allocations: 276.9 kB / 0.9606 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.126, allocations: 55.41 kB / 0.9606 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1262, allocations: 268.2 kB / 0.9609 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1262, allocations: 29.7 kB / 0.9609 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1263, allocations: 227 kB / 0.9611 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1263, allocations: 55.52 kB / 0.9612 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.1264, allocations: 43.36 kB / 0.9612 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1265, allocations: 0.504 MB / 0.9617 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.1265, allocations: 19.92 kB / 0.9617 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.1266, allocations: 100.1 kB / 0.9618 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1267, allocations: 99.88 kB / 0.9619 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1267, allocations: 7.969 kB / 0.9619 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003769/0.1271, allocations: 200.2 kB / 0.9621 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1271, allocations: 4 kB / 0.9621 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1271, allocations: 4.125 kB / 0.9621 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.1275, allocations: 135.5 kB / 0.9623 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.1276, allocations: 35.91 kB / 0.9623 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.1288, allocations: 1.877 MB / 0.9641 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.1289, allocations: 19.88 kB / 0.9641 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1289, allocations: 8 kB / 0.9642 GB, free: 5.555 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 8.758e-05/0.129, allocations: 164.5 kB / 0.9643 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1291, allocations: 27.86 kB / 0.9643 GB, free: 5.355 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.1294, allocations: 217.3 kB / 0.9645 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1294, allocations: 0 / 0.9645 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1294, allocations: 4 kB / 0.9645 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1294, allocations: 0 / 0.9645 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.1301, allocations: 0.5198 MB / 0.9651 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1301, allocations: 0 / 0.9651 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.1301, allocations: 27.98 kB / 0.9651 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/0.1305, allocations: 123.7 kB / 0.9652 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1305, allocations: 0 / 0.9652 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1315, allocations: 1.898 MB / 0.9671 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1315, allocations: 0 / 0.9671 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.1319, allocations: 358.3 kB / 0.9674 GB, free: 2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.132, allocations: 39.78 kB / 0.9674 GB, free: 1.961 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.132, allocations: 3.984 kB / 0.9674 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.1321, allocations: 20 kB / 0.9675 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.1321, allocations: 23.91 kB / 0.9675 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1322, allocations: 7.984 kB / 0.9675 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.1322, allocations: 189.1 kB / 0.9677 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1322, allocations: 0 / 0.9677 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002615/0.1325, allocations: 95.77 kB / 0.9678 GB, free: 1.629 MB / 0.9167 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.000176/0.1327, allocations: 131.1 kB / 0.9679 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.133, allocations: 273.3 kB / 0.9681 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.133, allocations: 4 kB / 0.9681 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1332, allocations: 241.3 kB / 0.9684 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1336, allocations: 108.7 kB / 0.9685 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.1343, allocations: 483.8 kB / 0.9689 GB, free: 332 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.576e-05/0.1344, allocations: 96.16 kB / 0.969 GB, free: 216 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.384e-05/0.1344, allocations: 33.94 kB / 0.9691 GB, free: 180 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.1346, allocations: 162.1 kB / 0.9692 GB, free: 16 kB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.1346, allocations: 0 / 0.9692 GB, free: 16 kB / 0.9167 GB Notification: Performance of Templates: time 0.008114/0.1428, allocations: 6.133 MB / 0.9752 GB, free: 10.02 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.381932647898793]