Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.0009525/0.0009525, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001008/0.001008, allocations: 161.4 kB / 24.17 MB, free: 328 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.9591/0.9591, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.072/2.072, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.769e-05, allocations: 5.688 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002112/0.002139, allocations: 0.8261 MB / 0.7761 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.003847, allocations: 1.208 MB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.003901, allocations: 0 / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.003938, allocations: 7.875 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.004031, allocations: 4.594 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.004512, allocations: 141.2 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.004713, allocations: 129.6 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.004802, allocations: 19.97 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.004935, allocations: 71.88 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.005039, allocations: 47.86 kB / 0.7777 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.005065, allocations: 8 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-05/0.005152, allocations: 28.8 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.005173, allocations: 11.92 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.005224, allocations: 32.48 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.0054, allocations: 104.3 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005403, allocations: 0 / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.283e-06/0.005404, allocations: 3.188 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.005408, allocations: 0 / 0.7778 GB, free: 2.703 MB / 0.7292 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.0004637/0.005871, allocations: 310.4 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.005913, allocations: 13.33 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.005953, allocations: 8.938 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.006067, allocations: 121.7 kB / 0.7783 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.006082, allocations: 12.31 kB / 0.7783 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.006102, allocations: 11.12 kB / 0.7783 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.006254, allocations: 74.91 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.006261, allocations: 192 / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.006269, allocations: 384 / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.006273, allocations: 384 / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.006311, allocations: 15.88 kB / 0.7784 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.006639, allocations: 168.3 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.006693, allocations: 32.33 kB / 0.7786 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.006716, allocations: 16.86 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.006733, allocations: 0 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.006841, allocations: 63.41 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.006843, allocations: 0.7188 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001242/0.006967, allocations: 65.61 kB / 0.7787 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.006996, allocations: 56.16 kB / 0.7788 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.007056, allocations: 121.2 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.007074, allocations: 30.77 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.007113, allocations: 100 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.007132, allocations: 15.89 kB / 0.779 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.007177, allocations: 30.5 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004523/0.007629, allocations: 318.8 kB / 0.7794 GB, free: 1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.007686, allocations: 58.14 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.146e-05/0.007737, allocations: 73.19 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.007817, allocations: 76.73 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007819, allocations: 0 / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001464/0.007965, allocations: 166.1 kB / 0.7797 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.007997, allocations: 35.14 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.008003, allocations: 3.938 kB / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.008013, allocations: 0 / 0.7798 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.008096, allocations: 16.64 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.008099, allocations: 4 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.008183, allocations: 24.88 kB / 0.7798 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.008199, allocations: 8.812 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 6.39e-05/0.008262, allocations: 109.8 kB / 0.7799 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.008273, allocations: 8.859 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.008296, allocations: 20.31 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008297, allocations: 0.75 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.0083, allocations: 0 / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.008303, allocations: 0.625 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.394e-05/0.008376, allocations: 85.81 kB / 0.78 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008378, allocations: 1.875 kB / 0.78 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.008414, allocations: 15.92 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008416, allocations: 0 / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.008421, allocations: 0 / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008422, allocations: 0.9375 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.008425, allocations: 7.938 kB / 0.78 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.008506, allocations: 73.11 kB / 0.7801 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.008514, allocations: 4.891 kB / 0.7801 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.008527, allocations: 11.98 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.008549, allocations: 8.984 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.008581, allocations: 7.922 kB / 0.7802 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.008585, allocations: 4 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.008605, allocations: 25.67 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008605, allocations: 0 / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001361/0.008741, allocations: 24.88 kB / 0.7802 GB, free: 48 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001309/0.008872, allocations: 77.14 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.009011, allocations: 143.8 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009014, allocations: 0 / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.268e-05/0.009047, allocations: 24.98 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.00916, allocations: 16.95 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.009406, allocations: 165.2 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.009434, allocations: 59.34 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.009458, allocations: 5.75 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.00954, allocations: 71.36 kB / 0.7807 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/0.009541, allocations: 0 / 0.7807 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.003331/0.01287, allocations: 1.744 MB / 0.7824 GB, free: 13.78 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.146306229755282]