Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001139/0.001139, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001016/0.001016, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8754/0.8754, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5563/0.5563, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.584e-05, allocations: 3.547 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001381/0.001407, allocations: 0.7944 MB / 0.555 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.002731, allocations: 1.31 MB / 0.5563 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.002791, allocations: 0 / 0.5563 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.002825, allocations: 11.88 kB / 0.5563 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.002901, allocations: 31.72 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.003499, allocations: 308.3 kB / 0.5566 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.003733, allocations: 307.3 kB / 0.5569 GB, free: 12 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003845, allocations: 29.64 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.003988, allocations: 159.7 kB / 0.5571 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.004184, allocations: 95.77 kB / 0.5572 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.004224, allocations: 28 kB / 0.5572 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.00429, allocations: 32 kB / 0.5572 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.004316, allocations: 23.91 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.004389, allocations: 87.86 kB / 0.5573 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.004634, allocations: 311.2 kB / 0.5576 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004637, allocations: 7.938 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004638, allocations: 0 / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004643, allocations: 0 / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004713/0.005114, allocations: 458.9 kB / 0.5581 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.005152, allocations: 8.625 kB / 0.5581 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.005185, allocations: 46.67 kB / 0.5581 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.005236, allocations: 20.84 kB / 0.5581 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.282e-05/0.005319, allocations: 124.8 kB / 0.5583 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.005344, allocations: 16.36 kB / 0.5583 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.005373, allocations: 24.12 kB / 0.5583 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.005498, allocations: 81.66 kB / 0.5584 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005506, allocations: 4 kB / 0.5584 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.005517, allocations: 8 kB / 0.5584 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005523, allocations: 7.938 kB / 0.5584 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.0056, allocations: 47.97 kB / 0.5584 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.006206, allocations: 415.5 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.006377, allocations: 66.55 kB / 0.5589 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.006413, allocations: 28.91 kB / 0.5589 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.006421, allocations: 0 / 0.5589 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.006561, allocations: 126.4 kB / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.006562, allocations: 0 / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0002473/0.006809, allocations: 169.5 kB / 0.5592 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.006838, allocations: 59.41 kB / 0.5593 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.006927, allocations: 162.2 kB / 0.5594 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.006952, allocations: 33.7 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.007005, allocations: 112.1 kB / 0.5596 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.007023, allocations: 27.75 kB / 0.5596 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.63e-05/0.007099, allocations: 73.67 kB / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.00718, allocations: 330.8 kB / 0.56 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.007342, allocations: 185 kB / 0.5601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.007514, allocations: 235 kB / 0.5604 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.007708, allocations: 253.5 kB / 0.5606 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.00771, allocations: 0 / 0.5606 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004331/0.008143, allocations: 0.4951 MB / 0.5611 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.008192, allocations: 107.4 kB / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.008197, allocations: 192 / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.008208, allocations: 15.92 kB / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.443e-05/0.008243, allocations: 8 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.00825, allocations: 4 kB / 0.5612 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.008481, allocations: 83.8 kB / 0.5613 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.008504, allocations: 15.98 kB / 0.5613 GB, free: 11.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/0.008587, allocations: 141.8 kB / 0.5615 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.008601, allocations: 15.84 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.008625, allocations: 20.72 kB / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008627, allocations: 0 / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.008632, allocations: 0 / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008634, allocations: 4 kB / 0.5615 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.008741, allocations: 176.7 kB / 0.5617 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008743, allocations: 0 / 0.5617 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.008764, allocations: 11.94 kB / 0.5617 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008767, allocations: 8 kB / 0.5617 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008774, allocations: 3.938 kB / 0.5617 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008775, allocations: 0 / 0.5617 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.008777, allocations: 4 kB / 0.5617 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.008914, allocations: 165 kB / 0.5618 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.008928, allocations: 15.88 kB / 0.5619 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.008942, allocations: 7.938 kB / 0.5619 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.008958, allocations: 4 kB / 0.5619 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.008987, allocations: 11.98 kB / 0.5619 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.008994, allocations: 7.984 kB / 0.5619 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.009047, allocations: 114.5 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.009047, allocations: 4 kB / 0.562 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000181/0.009228, allocations: 55.94 kB / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005637/0.009792, allocations: 0.7034 MB / 0.5627 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.01013, allocations: 439.1 kB / 0.5632 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01013, allocations: 0 / 0.5632 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.01018, allocations: 39.98 kB / 0.5632 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.01035, allocations: 30.61 kB / 0.5632 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.01217, allocations: 2.623 MB / 0.5658 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.01222, allocations: 98.7 kB / 0.5659 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.01225, allocations: 12.66 kB / 0.5659 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.0123, allocations: 40.48 kB / 0.5659 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.0123, allocations: 0 / 0.5659 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.02878, allocations: 5.197 MB / 0.571 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.123, allocations: 7.438 kB / 0.571 GB, free: 1.004 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.677467859350145] Failed to read output from testmodel.py, exit status != 0: 7.204433666542172 7.212745338 7.2063747320000004 Calling exit ...