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.729/1.729, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.000975/0.0009751, allocations: 185.1 kB / 371.8 MB, free: 10.82 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.761/1.761, allocations: 205.4 MB / 0.6305 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.0008454/0.0008455, allocations: 99.7 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 17.14 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2398, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.000872/0.2407, allocations: 494 kB / 0.9798 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.2422, allocations: 1.309 MB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.2422, allocations: 0 / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.2423, allocations: 7.938 kB / 0.9811 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.2423, allocations: 15.92 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.243, allocations: 265.5 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.2432, allocations: 291.5 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2433, allocations: 58.33 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2435, allocations: 131.8 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.2436, allocations: 111.6 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.2436, allocations: 16 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.2437, allocations: 24 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.2438, allocations: 63.83 kB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.2438, allocations: 57.64 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.244, allocations: 243.6 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2441, allocations: 3.984 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2441, allocations: 0 / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.2441, allocations: 0 / 0.9823 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.0004788/0.2446, allocations: 472.5 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.2446, allocations: 16.02 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.2447, allocations: 20.84 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.2452, allocations: 268.2 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2452, allocations: 20.36 kB / 0.983 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.2453, allocations: 36.36 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.2456, allocations: 219.3 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2456, allocations: 3.938 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2457, allocations: 11.97 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2457, allocations: 4 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.2458, allocations: 95.88 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.2465, allocations: 0.5664 MB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.2468, allocations: 262.5 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.247, allocations: 112.8 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.247, allocations: 0 / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005905/0.2476, allocations: 0.5398 MB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.2476, allocations: 0 / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0007711/0.2484, allocations: 0.5634 MB / 0.9854 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2484, allocations: 67.41 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.2485, allocations: 155.3 kB / 0.9856 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.2486, allocations: 57.69 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2486, allocations: 116.9 kB / 0.9858 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.2487, allocations: 102.8 kB / 0.9859 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2487, allocations: 16 kB / 0.9859 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.2488, allocations: 338.8 kB / 0.9862 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.2491, allocations: 177.1 kB / 0.9864 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.2494, allocations: 293.8 kB / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.2497, allocations: 365.1 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2497, allocations: 4 kB / 0.987 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006749/0.2504, allocations: 0.5604 MB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.2505, allocations: 71.77 kB / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2505, allocations: 8 kB / 0.9876 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2505, allocations: 4 kB / 0.9876 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.2506, allocations: 27.86 kB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2506, allocations: 7.938 kB / 0.9877 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.2509, allocations: 99.62 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.251, allocations: 31.98 kB / 0.9878 GB, free: 19.13 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.0001389/0.2511, allocations: 182.9 kB / 0.988 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.2512, allocations: 27.72 kB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.162e-05/0.2513, allocations: 38.3 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2513, allocations: 0 / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2513, allocations: 3.938 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.2513, allocations: 96.91 kB / 0.9881 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.2514, allocations: 23.94 kB / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.2514, allocations: 11.98 kB / 0.9882 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.2516, allocations: 99.75 kB / 0.9882 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005366/0.2521, allocations: 0.5176 MB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000515/0.2527, allocations: 0.6196 MB / 0.9894 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002109/0.2529, allocations: 231.9 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.2529, allocations: 97.3 kB / 0.9897 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of Backend: time 2.5e-07/0.2529, allocations: 0 / 0.9897 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.2537, allocations: 0.532 MB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005628/0.2543, allocations: 0.7948 MB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.006585/0.2609, allocations: 4.557 MB / 0.9954 GB, free: 11.21 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)