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.001024/0.001024, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001784/0.001784, allocations: 167.2 kB / 24.97 MB, free: 9.18 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.998/0.998, allocations: 177.1 MB / 205.4 MB, free: 5.492 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 1.947/1.947, allocations: 389.6 MB / 0.6362 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.452e-06/1.452e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.542e-05, allocations: 3.219 kB / 0.776 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001295/0.00131, allocations: 0.8431 MB / 0.7769 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002405, allocations: 1.199 MB / 0.778 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.002444, allocations: 0 / 0.778 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.00247, allocations: 10.42 kB / 0.778 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.002543, allocations: 21.28 kB / 0.7781 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.002858, allocations: 128.2 kB / 0.7782 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.003001, allocations: 135.3 kB / 0.7783 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/0.00307, allocations: 16.47 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.003175, allocations: 69 kB / 0.7784 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.003258, allocations: 47.88 kB / 0.7784 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.003279, allocations: 8 kB / 0.7785 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.003339, allocations: 26.86 kB / 0.7785 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.003361, allocations: 19.91 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.003398, allocations: 35.92 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.00352, allocations: 99.73 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.003522, allocations: 0 / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003523, allocations: 0 / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003526, allocations: 0 / 0.7786 GB, free: 2.684 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.0003442/0.00387, allocations: 318.2 kB / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.003902, allocations: 9.344 kB / 0.7789 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.003935, allocations: 12.92 kB / 0.779 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.775e-05/0.004002, allocations: 117.7 kB / 0.7791 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.004013, allocations: 8.359 kB / 0.7791 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004027, allocations: 12.38 kB / 0.7791 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.004131, allocations: 70.86 kB / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004137, allocations: 192 / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.004144, allocations: 384 / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004148, allocations: 384 / 0.7792 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.004176, allocations: 12.53 kB / 0.7792 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.004391, allocations: 176.9 kB / 0.7793 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.653e-05/0.004428, allocations: 34.5 kB / 0.7794 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.004443, allocations: 9.422 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.004457, allocations: 0.9062 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.474e-05/0.004532, allocations: 67.53 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.004533, allocations: 1.312 kB / 0.7794 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001098/0.004643, allocations: 65.55 kB / 0.7795 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.004664, allocations: 55.41 kB / 0.7796 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.004721, allocations: 119.5 kB / 0.7797 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.004737, allocations: 29.7 kB / 0.7797 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.004773, allocations: 100 kB / 0.7798 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.004789, allocations: 17.3 kB / 0.7798 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.004829, allocations: 25.7 kB / 0.7798 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.004899, allocations: 322.8 kB / 0.7801 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.004945, allocations: 54.22 kB / 0.7802 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.004994, allocations: 68.25 kB / 0.7803 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.005056, allocations: 85.08 kB / 0.7803 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005058, allocations: 1.719 kB / 0.7803 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001204/0.005178, allocations: 149.3 kB / 0.7805 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.005203, allocations: 41.69 kB / 0.7805 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.005207, allocations: 1.594 kB / 0.7805 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005217, allocations: 3.938 kB / 0.7805 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.00528, allocations: 15.98 kB / 0.7805 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005282, allocations: 7.938 kB / 0.7806 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.005359, allocations: 25.72 kB / 0.7806 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.005372, allocations: 4.078 kB / 0.7806 GB, free: 488 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 5.853e-05/0.00543, allocations: 123 kB / 0.7807 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-06/0.00544, allocations: 11.97 kB / 0.7807 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.00546, allocations: 12.44 kB / 0.7807 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.005464, allocations: 3.938 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-07/0.005464, allocations: 0.7812 kB / 0.7807 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.005474, allocations: 11.88 kB / 0.7807 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-06/0.005483, allocations: 5.344 kB / 0.7807 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.005516, allocations: 7.984 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.005543, allocations: 7.984 kB / 0.7808 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.37e-05/0.005627, allocations: 130.1 kB / 0.7809 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001031/0.00573, allocations: 226.7 kB / 0.7811 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.965e-05/0.00576, allocations: 16.84 kB / 0.7811 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.621e-05/0.005776, allocations: 28.27 kB / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Backend: time 1.2e-07/0.005776, allocations: 0 / 0.7811 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002493/0.006025, allocations: 190.7 kB / 0.7813 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0003965/0.006422, allocations: 0.6665 MB / 0.782 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.00303/0.009452, allocations: 1.975 MB / 0.7839 GB, free: 13.09 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.945552150718868]