Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001138/0.001138, 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.00128/0.00128, allocations: 173.9 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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5427/0.5427, allocations: 114 MB / 373.9 MB, free: 8.719 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.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.835e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001533/0.001561, allocations: 0.6729 MB / 0.5549 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.00282, allocations: 1.279 MB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.002868, allocations: 0 / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.002898, allocations: 3.938 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.683e-05/0.002975, allocations: 23.78 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.003668, allocations: 315.5 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.0039, allocations: 259.5 kB / 0.5567 GB, free: 236 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.003995, allocations: 8.125 kB / 0.5567 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.004141, allocations: 143.8 kB / 0.5568 GB, free: 80 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.004262, allocations: 75.8 kB / 0.5569 GB, free: 4 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.004307, allocations: 20.05 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.004379, allocations: 43.92 kB / 0.557 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.0044, allocations: 8 kB / 0.557 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.004471, allocations: 83.8 kB / 0.5571 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.004712, allocations: 267.3 kB / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004714, allocations: 0 / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004716, allocations: 0 / 0.5573 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00472, allocations: 0 / 0.5573 GB, free: 15.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005654/0.005286, allocations: 423.1 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.005327, allocations: 8.625 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.005354, allocations: 38.73 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.005406, allocations: 16.89 kB / 0.5578 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.748e-05/0.005484, allocations: 117.7 kB / 0.5579 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.005505, allocations: 8.375 kB / 0.5579 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.005531, allocations: 20.36 kB / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005632, allocations: 54.23 kB / 0.558 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.00564, allocations: 8.188 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005648, allocations: 384 / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.005654, allocations: 3.938 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.005695, allocations: 27.92 kB / 0.558 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.006096, allocations: 331.8 kB / 0.5583 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.363e-05/0.00615, allocations: 30.52 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.006177, allocations: 24.94 kB / 0.5584 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.006186, allocations: 3.938 kB / 0.5584 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.006354, allocations: 99.34 kB / 0.5585 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.006355, allocations: 0 / 0.5585 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002505/0.006606, allocations: 141.5 kB / 0.5586 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.006643, allocations: 59.34 kB / 0.5587 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.006723, allocations: 137.7 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.006748, allocations: 29.7 kB / 0.5588 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.006804, allocations: 108.2 kB / 0.5589 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.00682, allocations: 20.27 kB / 0.5589 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.006895, allocations: 65.67 kB / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.006967, allocations: 322.8 kB / 0.5593 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.00714, allocations: 185 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.007306, allocations: 227 kB / 0.5597 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.007486, allocations: 239 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.007489, allocations: 3.938 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004079/0.007897, allocations: 483.5 kB / 0.5604 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.007948, allocations: 101.1 kB / 0.5605 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.007954, allocations: 0 / 0.5605 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.007968, allocations: 4 kB / 0.5605 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.007992, allocations: 4 kB / 0.5605 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.007998, allocations: 0 / 0.5605 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.008259, allocations: 80.03 kB / 0.5606 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.008284, allocations: 19.98 kB / 0.5606 GB, free: 11.85 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 9.517e-05/0.008379, allocations: 137.6 kB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.008391, allocations: 11.91 kB / 0.5607 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.008415, allocations: 12.44 kB / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008418, allocations: 0 / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.008424, allocations: 0 / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008427, allocations: 0 / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.008531, allocations: 160.7 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008532, allocations: 4 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-06/0.008538, allocations: 0 / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.00854, allocations: 0 / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.008548, allocations: 7.984 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.00855, allocations: 0 / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008551, allocations: 0 / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.008691, allocations: 148.9 kB / 0.5611 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.0087, allocations: 7.953 kB / 0.5611 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.008713, allocations: 4 kB / 0.5611 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.008731, allocations: 4 kB / 0.5611 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.008765, allocations: 15.86 kB / 0.5611 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.008772, allocations: 11.98 kB / 0.5611 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.008814, allocations: 101.5 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008815, allocations: 0 / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001866/0.009001, allocations: 40 kB / 0.5612 GB, free: 11.13 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0003479/0.009349, allocations: 0.6839 MB / 0.5619 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.009679, allocations: 415.2 kB / 0.5623 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.009681, allocations: 4.312 kB / 0.5623 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.00972, allocations: 35.97 kB / 0.5623 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.009915, allocations: 24.2 kB / 0.5624 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.01179, allocations: 2.427 MB / 0.5647 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.01184, allocations: 79.89 kB / 0.5648 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.01188, allocations: 12.48 kB / 0.5648 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.01193, allocations: 24.5 kB / 0.5648 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/0.01193, allocations: 0 / 0.5648 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.03003, allocations: 4.791 MB / 0.5695 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/6.726, allocations: 7.125 kB / 0.5695 GB, free: 2.531 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.209000838920474] Failed to read output from testmodel.py, exit status != 0: 6.808000792749226 6.816390101 6.809985791 Calling exit ...