Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.4 MB / 303.6 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009558/0.0009558, allocations: 180.4 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009708/0.0009713, allocations: 98.23 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005042, allocations: 17.25 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00115/0.3478, allocations: 490.2 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3495, allocations: 1.309 MB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.3495, allocations: 4 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.3496, allocations: 11.92 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.3497, allocations: 7.875 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.3504, allocations: 265.7 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.3507, allocations: 299.5 kB / 0.9825 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.3509, allocations: 52.84 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3511, allocations: 127.8 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3512, allocations: 115.6 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.3513, allocations: 20 kB / 0.9828 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.3514, allocations: 27.98 kB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.3514, allocations: 55.84 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3516, allocations: 141.3 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3518, allocations: 243.6 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3518, allocations: 4 kB / 0.9832 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3518, allocations: 0 / 0.9832 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3519, allocations: 0 / 0.9832 GB, free: 24.17 MB / 0.6198 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.0006725/0.3525, allocations: 478.5 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3526, allocations: 8.031 kB / 0.9837 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.3527, allocations: 24.84 kB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.3533, allocations: 264.3 kB / 0.984 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.3533, allocations: 32.3 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.3534, allocations: 28.38 kB / 0.984 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.3538, allocations: 219.3 kB / 0.9842 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3538, allocations: 3.938 kB / 0.9842 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.3538, allocations: 19.91 kB / 0.9842 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3538, allocations: 4 kB / 0.9842 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.354, allocations: 91.88 kB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.3548, allocations: 0.5703 MB / 0.9849 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.3552, allocations: 246.6 kB / 0.9851 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3554, allocations: 116.8 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.3554, allocations: 4 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006466/0.356, allocations: 0.5458 MB / 0.9858 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.382e-06/0.356, allocations: 0 / 0.9858 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0007769/0.3568, allocations: 0.5595 MB / 0.9863 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3569, allocations: 67.33 kB / 0.9864 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.357, allocations: 146.8 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.357, allocations: 61.69 kB / 0.9866 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.3571, allocations: 116.9 kB / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.3572, allocations: 102.8 kB / 0.9868 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3572, allocations: 12 kB / 0.9868 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.3573, allocations: 338.8 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.3576, allocations: 181.1 kB / 0.9873 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.3579, allocations: 289.8 kB / 0.9876 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3583, allocations: 365.1 kB / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3583, allocations: 0 / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006813/0.359, allocations: 0.5646 MB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.3591, allocations: 68.69 kB / 0.9885 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3591, allocations: 4 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3591, allocations: 11.98 kB / 0.9886 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.3592, allocations: 31.8 kB / 0.9886 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3592, allocations: 4 kB / 0.9886 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.3596, allocations: 99.62 kB / 0.9887 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.3596, allocations: 24 kB / 0.9887 GB, free: 18.2 MB / 0.6198 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,fal.y,tru.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.y,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,swiCleInp.clr,$PRE.swiCleInp.y,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,swiCleInp1.clr,$PRE.swiCleInp1.y,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.togInp.y,togInp.y,truCleFalIni.clr,truCleTruIni.clr,falCleFalIni.clr,falCleTruIni.clr) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.3598, allocations: 182.9 kB / 0.9889 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.3598, allocations: 35.64 kB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.218e-05/0.3599, allocations: 38.31 kB / 0.989 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3599, allocations: 7.938 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3599, allocations: 0 / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3599, allocations: 3.984 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.3609, allocations: 0.8742 MB / 0.9898 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3609, allocations: 3.938 kB / 0.9898 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.3609, allocations: 19.94 kB / 0.9898 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3609, allocations: 0 / 0.9898 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.361, allocations: 27.95 kB / 0.9899 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.361, allocations: 0 / 0.9899 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.361, allocations: 0 / 0.9899 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.3616, allocations: 0.5307 MB / 0.9904 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.3616, allocations: 104.7 kB / 0.9905 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.3617, allocations: 27.98 kB / 0.9905 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.3618, allocations: 11.98 kB / 0.9905 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.362, allocations: 83.81 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.362, allocations: 43.95 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.3621, allocations: 96.67 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3621, allocations: 0 / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003622/0.3624, allocations: 99.98 kB / 0.9908 GB, free: 15.92 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.3627, allocations: 147.9 kB / 0.991 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006592/0.3634, allocations: 0.557 MB / 0.9915 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3634, allocations: 0 / 0.9915 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.3636, allocations: 268.2 kB / 0.9918 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.364, allocations: 43.84 kB / 0.9918 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.3647, allocations: 474.1 kB / 0.9923 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.365, allocations: 0.7413 MB / 0.993 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.3651, allocations: 38.97 kB / 0.993 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3652, allocations: 43.41 kB / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3652, allocations: 0 / 0.9931 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.007254/0.3725, allocations: 4.469 MB / 0.9974 GB, free: 9.109 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)