Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.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.001064/0.001064, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.001491/0.001491, allocations: 173.5 kB / 25.18 MB, free: 9.078 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.9353/0.9353, allocations: 177.1 MB / 205.6 MB, free: 5.145 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.885/1.885, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.545e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001558/0.001584, allocations: 0.8182 MB / 0.7764 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.002932, allocations: 1.385 MB / 0.7777 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.002988, allocations: 0 / 0.7777 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.003029, allocations: 19.8 kB / 0.7777 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.499e-05/0.003104, allocations: 13.06 kB / 0.7777 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.003635, allocations: 300.9 kB / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.003933, allocations: 363.8 kB / 0.7784 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.004047, allocations: 57.84 kB / 0.7784 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.004322, allocations: 235.6 kB / 0.7786 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.004458, allocations: 99.75 kB / 0.7787 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.004498, allocations: 32 kB / 0.7788 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.004593, allocations: 55.78 kB / 0.7788 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.004639, allocations: 67.83 kB / 0.7789 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.004722, allocations: 111.8 kB / 0.779 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.004956, allocations: 279.2 kB / 0.7793 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004959, allocations: 0 / 0.7793 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00496, allocations: 0 / 0.7793 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.004963, allocations: 0 / 0.7793 GB, free: 2.223 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004546/0.005418, allocations: 451.6 kB / 0.7797 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.005448, allocations: 13.34 kB / 0.7797 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.005509, allocations: 48.88 kB / 0.7798 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005679, allocations: 158.1 kB / 0.7799 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.005701, allocations: 16.38 kB / 0.7799 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.00574, allocations: 37.02 kB / 0.78 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.005914, allocations: 202 kB / 0.7801 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00592, allocations: 192 / 0.7801 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.005938, allocations: 17.2 kB / 0.7802 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005945, allocations: 8.359 kB / 0.7802 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.006002, allocations: 53.23 kB / 0.7802 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.006396, allocations: 303.9 kB / 0.7805 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.006565, allocations: 151.1 kB / 0.7807 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.00662, allocations: 62.23 kB / 0.7807 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.006626, allocations: 4 kB / 0.7807 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.006991, allocations: 0.4957 MB / 0.7812 GB, free: 140 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.006993, allocations: 0 / 0.7812 GB, free: 140 kB / 0.7292 GB Notification: Performance of matching and sorting (n=44): time 0.0003326/0.007326, allocations: 314.5 kB / 0.7815 GB, free: 15.82 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.007361, allocations: 55.41 kB / 0.7816 GB, free: 15.76 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.007443, allocations: 160.1 kB / 0.7817 GB, free: 15.59 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.007485, allocations: 61.69 kB / 0.7818 GB, free: 15.52 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.007535, allocations: 112.9 kB / 0.7819 GB, free: 15.41 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.007734, allocations: 111.3 kB / 0.782 GB, free: 15.3 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.00784, allocations: 118.9 kB / 0.7821 GB, free: 15.18 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.007918, allocations: 342.7 kB / 0.7824 GB, free: 14.83 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.008038, allocations: 157.7 kB / 0.7826 GB, free: 14.67 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.008195, allocations: 261.5 kB / 0.7828 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.008399, allocations: 316.5 kB / 0.7831 GB, free: 14.01 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.008404, allocations: 7.938 kB / 0.7831 GB, free: 14 MB / 0.7449 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003354/0.00874, allocations: 463.3 kB / 0.7836 GB, free: 13.52 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.008785, allocations: 76.77 kB / 0.7836 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.008792, allocations: 0 / 0.7836 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.008802, allocations: 8 kB / 0.7837 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.008851, allocations: 32.42 kB / 0.7837 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.008857, allocations: 8 kB / 0.7837 GB, free: 13.38 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.009044, allocations: 68.83 kB / 0.7838 GB, free: 13.32 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.009071, allocations: 20.89 kB / 0.7838 GB, free: 13.3 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001204/0.009191, allocations: 180.3 kB / 0.784 GB, free: 13.11 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.009232, allocations: 45.11 kB / 0.784 GB, free: 13.07 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.009287, allocations: 38.31 kB / 0.784 GB, free: 13.03 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.009291, allocations: 8 kB / 0.784 GB, free: 13.02 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.009296, allocations: 5.141 kB / 0.784 GB, free: 13.02 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0093, allocations: 4 kB / 0.784 GB, free: 13.02 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.009737, allocations: 489.3 kB / 0.7845 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.009739, allocations: 0 / 0.7845 GB, free: 12.52 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.009766, allocations: 19.86 kB / 0.7845 GB, free: 12.5 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009769, allocations: 1.375 kB / 0.7845 GB, free: 12.5 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.009787, allocations: 19.97 kB / 0.7846 GB, free: 12.48 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.00979, allocations: 4 kB / 0.7846 GB, free: 12.47 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.009792, allocations: 3.984 kB / 0.7846 GB, free: 12.47 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.01001, allocations: 351.1 kB / 0.7849 GB, free: 12.11 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.01003, allocations: 19.8 kB / 0.7849 GB, free: 12.09 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.01008, allocations: 27.98 kB / 0.7849 GB, free: 12.07 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.01013, allocations: 11.98 kB / 0.785 GB, free: 12.05 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.01021, allocations: 53.25 kB / 0.785 GB, free: 12 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.01023, allocations: 27.97 kB / 0.785 GB, free: 11.98 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 2.228e-05/0.01025, allocations: 26.88 kB / 0.7851 GB, free: 11.95 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01025, allocations: 0.625 kB / 0.7851 GB, free: 11.95 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002187/0.01047, allocations: 95.98 kB / 0.7851 GB, free: 11.86 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001461/0.01062, allocations: 131.2 kB / 0.7853 GB, free: 11.73 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.01097, allocations: 482.5 kB / 0.7857 GB, free: 11.22 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.01097, allocations: 0 / 0.7857 GB, free: 11.22 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.01109, allocations: 132.6 kB / 0.7859 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01128, allocations: 58.75 kB / 0.7859 GB, free: 11.04 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.01172, allocations: 419.9 kB / 0.7863 GB, free: 10.59 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.832e-05/0.01178, allocations: 122.9 kB / 0.7864 GB, free: 10.45 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.01197, allocations: 127.3 kB / 0.7866 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of SimCode: time 1.072e-06/0.01197, allocations: 0 / 0.7866 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of Templates: time 0.004055/0.01603, allocations: 3.961 MB / 0.7904 GB, free: 6.52 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.651578116230667]