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.001286/0.001286, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001463/0.001463, allocations: 185 kB / 24.09 MB, free: 416 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.9769/0.9769, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.274e-06/2.274e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.221e-05, allocations: 7.25 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1278/0.1278, allocations: 143.5 MB / 0.9522 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1301, allocations: 1.642 MB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.1303, allocations: 15.88 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1306, allocations: 71.36 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.1313, allocations: 326.1 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.1323, allocations: 0.4905 MB / 0.9546 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.1329, allocations: 0.6321 MB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1332, allocations: 188.9 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008679/0.134, allocations: 412.7 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1342, allocations: 175.5 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.1342, allocations: 20 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.1346, allocations: 283.3 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.1347, allocations: 99.72 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.1348, allocations: 103.7 kB / 0.9565 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.1352, allocations: 414.7 kB / 0.9569 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1352, allocations: 0 / 0.9569 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1352, allocations: 0 / 0.9569 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1352, allocations: 0 / 0.9569 GB, free: 12.66 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.0006035/0.1358, allocations: 0.6514 MB / 0.9575 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1359, allocations: 12.03 kB / 0.9575 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.1362, allocations: 116.4 kB / 0.9576 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1365, allocations: 251.5 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1365, allocations: 20.62 kB / 0.9579 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1365, allocations: 20 kB / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.1368, allocations: 291.2 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1368, allocations: 0 / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1368, allocations: 8 kB / 0.9582 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1368, allocations: 11.98 kB / 0.9582 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.1369, allocations: 68.77 kB / 0.9583 GB, free: 11.12 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.0008766/0.1378, allocations: 1.08 MB / 0.9593 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1379, allocations: 75.09 kB / 0.9594 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.1379, allocations: 43.59 kB / 0.9595 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.1381, allocations: 51.89 kB / 0.9595 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.1381, allocations: 37.39 kB / 0.9595 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1381, allocations: 0 / 0.9595 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14): time 0.0007322/0.1389, allocations: 284.8 kB / 0.9598 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.1389, allocations: 55.41 kB / 0.9599 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.139, allocations: 272.2 kB / 0.9601 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.139, allocations: 29.7 kB / 0.9601 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.1391, allocations: 227 kB / 0.9604 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1391, allocations: 47.53 kB / 0.9604 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1392, allocations: 43.34 kB / 0.9605 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1393, allocations: 0.504 MB / 0.9609 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.1393, allocations: 15.98 kB / 0.961 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1395, allocations: 110.3 kB / 0.9611 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/0.1396, allocations: 100.1 kB / 0.9612 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1396, allocations: 3.938 kB / 0.9612 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003357/0.14, allocations: 197 kB / 0.9614 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.14, allocations: 7.984 kB / 0.9614 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.14, allocations: 0 / 0.9614 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.1404, allocations: 139.6 kB / 0.9615 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.1405, allocations: 31.97 kB / 0.9615 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.1416, allocations: 1.884 MB / 0.9634 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.1417, allocations: 19.88 kB / 0.9634 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1417, allocations: 12.03 kB / 0.9634 GB, free: 5.562 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.076e-05/0.1418, allocations: 160.6 kB / 0.9635 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1418, allocations: 27.86 kB / 0.9636 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.1421, allocations: 206.8 kB / 0.9638 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1421, allocations: 0 / 0.9638 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1421, allocations: 0 / 0.9638 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1421, allocations: 4 kB / 0.9638 GB, free: 5.148 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.1427, allocations: 0.5237 MB / 0.9643 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1427, allocations: 0 / 0.9643 GB, free: 4.574 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.304e-05/0.1427, allocations: 31.92 kB / 0.9643 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.1433, allocations: 123.8 kB / 0.9644 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1433, allocations: 4 kB / 0.9644 GB, free: 4.414 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009283/0.1442, allocations: 1.894 MB / 0.9663 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1442, allocations: 0 / 0.9663 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.1446, allocations: 354.3 kB / 0.9666 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.1446, allocations: 43.81 kB / 0.9667 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1446, allocations: 7.938 kB / 0.9667 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.1447, allocations: 11.98 kB / 0.9667 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.1448, allocations: 23.91 kB / 0.9667 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1448, allocations: 8 kB / 0.9667 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.204e-05/0.1449, allocations: 185.1 kB / 0.9669 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1449, allocations: 0 / 0.9669 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002489/0.1451, allocations: 95.75 kB / 0.967 GB, free: 1.648 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.0001635/0.1453, allocations: 135.1 kB / 0.9671 GB, free: 1.508 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1456, allocations: 274.4 kB / 0.9674 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1456, allocations: 4 kB / 0.9674 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.1458, allocations: 249.8 kB / 0.9676 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1461, allocations: 121.2 kB / 0.9677 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007169/0.1468, allocations: 478.2 kB / 0.9682 GB, free: 336 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.1469, allocations: 96.16 kB / 0.9683 GB, free: 220 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.534e-05/0.147, allocations: 25.95 kB / 0.9683 GB, free: 192 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.1472, allocations: 166 kB / 0.9685 GB, free: 24 kB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.1472, allocations: 0 / 0.9685 GB, free: 24 kB / 0.9167 GB Notification: Performance of Templates: time 0.007861/0.155, allocations: 6.04 MB / 0.9744 GB, free: 10.11 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.270093525759876]