Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.788/1.788, allocations: 287.5 MB / 302.6 MB, free: 8.312 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.001188/0.001189, allocations: 184.7 kB / 371.2 MB, free: 10.83 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.924/1.924, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008479/0.0008479, allocations: 95.94 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007071/0.0007071, allocations: 18.17 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2423, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.0009802/0.2434, allocations: 490 kB / 0.9792 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2449, allocations: 1.313 MB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.245, allocations: 0 / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.245, allocations: 3.938 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.2451, allocations: 19.84 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.2458, allocations: 266.3 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.246, allocations: 291.5 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2462, allocations: 53.09 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2463, allocations: 127.8 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2465, allocations: 111.6 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.2465, allocations: 20 kB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.2466, allocations: 31.97 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.2467, allocations: 55.86 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.2467, allocations: 57.64 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.2469, allocations: 243.6 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2469, allocations: 0 / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2469, allocations: 0 / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.247, allocations: 0 / 0.9817 GB, free: 25.11 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.000526/0.2475, allocations: 474.5 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2475, allocations: 12.03 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.2476, allocations: 28.83 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.2482, allocations: 272.1 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.2482, allocations: 20.36 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.2483, allocations: 32.36 kB / 0.9825 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.2486, allocations: 219.3 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2486, allocations: 3.938 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2486, allocations: 19.97 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2487, allocations: 4 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.2488, allocations: 95.88 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.2496, allocations: 0.5663 MB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.25, allocations: 254.6 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2501, allocations: 112.8 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.2501, allocations: 0 / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006555/0.2508, allocations: 0.5512 MB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.2508, allocations: 0 / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0008334/0.2517, allocations: 0.5595 MB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.2517, allocations: 67.28 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.2518, allocations: 156.2 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.2519, allocations: 57.69 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.252, allocations: 108.9 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.252, allocations: 102.8 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.2521, allocations: 16 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.2521, allocations: 338.8 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.2524, allocations: 181.1 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.2527, allocations: 293.7 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.2531, allocations: 365.2 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2531, allocations: 4 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007111/0.2538, allocations: 0.5605 MB / 0.9869 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.2539, allocations: 67.39 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2539, allocations: 4 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2539, allocations: 4 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.254, allocations: 31.8 kB / 0.987 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.254, allocations: 4 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.2544, allocations: 103.9 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.2545, allocations: 31.98 kB / 0.9872 GB, free: 19.12 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.0001539/0.2546, allocations: 178.9 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.2547, allocations: 31.72 kB / 0.9874 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.2547, allocations: 38.3 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2548, allocations: 7.938 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2548, allocations: 0 / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2548, allocations: 3.938 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.2557, allocations: 0.882 MB / 0.9883 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2557, allocations: 3.938 kB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.2557, allocations: 15.92 kB / 0.9883 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2557, allocations: 4 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.2558, allocations: 23.97 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2558, allocations: 4 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2558, allocations: 0 / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.2563, allocations: 0.5267 MB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.2563, allocations: 100.7 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.2564, allocations: 27.98 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2565, allocations: 11.98 kB / 0.989 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.2567, allocations: 95.8 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.2567, allocations: 35.97 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.2568, allocations: 104.6 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2568, allocations: 0 / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003312/0.2571, allocations: 95.98 kB / 0.9893 GB, free: 16.84 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.0001967/0.2573, allocations: 143.2 kB / 0.9894 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006569/0.258, allocations: 0.5681 MB / 0.99 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.258, allocations: 0 / 0.99 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.2582, allocations: 248.1 kB / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.2586, allocations: 43.89 kB / 0.9903 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.2592, allocations: 474.9 kB / 0.9907 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.2594, allocations: 0.7335 MB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.2595, allocations: 46.89 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2596, allocations: 47.41 kB / 0.9915 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2596, allocations: 4 kB / 0.9915 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.006709/0.2664, allocations: 4.458 MB / 0.9959 GB, free: 10.05 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)