Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 105.2 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 191 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.959/1.959, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 71.03 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.278, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002719/0.2808, allocations: 0.7834 MB / 0.7856 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2829, allocations: 1.343 MB / 0.7869 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2831, allocations: 4 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.2832, allocations: 11.81 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.2833, allocations: 15.84 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2844, allocations: 313.3 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000587/0.285, allocations: 375.5 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.2852, allocations: 49.09 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.2856, allocations: 163.7 kB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5349/0.8205, allocations: 133.3 kB / 0.7879 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.8208, allocations: 37.47 kB / 0.7879 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.8209, allocations: 51.67 kB / 0.788 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.821, allocations: 68.23 kB / 0.788 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.8212, allocations: 134.9 kB / 0.7882 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.8217, allocations: 346.1 kB / 0.7885 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8217, allocations: 0 / 0.7885 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.955e-06/0.8217, allocations: 0 / 0.7885 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.8217, allocations: 2.906 kB / 0.7885 GB, free: 46.93 MB / 0.6544 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.0007931/0.8225, allocations: 0.5373 MB / 0.789 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.8226, allocations: 8.25 kB / 0.789 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.765e-05/0.8227, allocations: 31.42 kB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.8233, allocations: 258.4 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.8233, allocations: 26.03 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.8234, allocations: 35.2 kB / 0.7894 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.8238, allocations: 218.6 kB / 0.7896 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8238, allocations: 6.875 kB / 0.7896 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.8238, allocations: 16.12 kB / 0.7896 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.8238, allocations: 2.438 kB / 0.7896 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.824, allocations: 94.95 kB / 0.7897 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.8248, allocations: 0.5617 MB / 0.7902 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.8252, allocations: 254 kB / 0.7905 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.8254, allocations: 119.5 kB / 0.7906 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.8254, allocations: 1.688 kB / 0.7906 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.8262, allocations: 0.5523 MB / 0.7911 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.8262, allocations: 0 / 0.7911 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.0009407/0.8271, allocations: 0.558 MB / 0.7917 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.8272, allocations: 60.5 kB / 0.7917 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.8273, allocations: 161.7 kB / 0.7919 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.8273, allocations: 61.19 kB / 0.792 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.8274, allocations: 112.6 kB / 0.7921 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.8275, allocations: 103.5 kB / 0.7922 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.8277, allocations: 124.1 kB / 0.7923 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.8278, allocations: 337.4 kB / 0.7926 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.8281, allocations: 182 kB / 0.7928 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.8284, allocations: 296.5 kB / 0.7931 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.8288, allocations: 363 kB / 0.7934 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8288, allocations: 3.375 kB / 0.7934 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008204/0.8297, allocations: 0.5702 MB / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.8297, allocations: 65.66 kB / 0.794 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8298, allocations: 0 / 0.794 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.8298, allocations: 7.781 kB / 0.794 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.8299, allocations: 29.62 kB / 0.7941 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.8299, allocations: 14.84 kB / 0.7941 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.8304, allocations: 77.94 kB / 0.7942 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.8304, allocations: 28.34 kB / 0.7942 GB, free: 44.69 MB / 0.6544 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,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.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) * 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.0002468/0.8307, allocations: 175.7 kB / 0.7943 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.8308, allocations: 24.67 kB / 0.7944 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.8309, allocations: 36.72 kB / 0.7944 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.8309, allocations: 6.703 kB / 0.7944 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.8309, allocations: 6.438 kB / 0.7944 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.831, allocations: 103 kB / 0.7945 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-05/0.8311, allocations: 27.59 kB / 0.7945 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.8311, allocations: 14.27 kB / 0.7946 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.8313, allocations: 75.86 kB / 0.7946 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006626/0.832, allocations: 0.5162 MB / 0.7951 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006657/0.8326, allocations: 0.6112 MB / 0.7957 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002759/0.8329, allocations: 234 kB / 0.796 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.833, allocations: 105.9 kB / 0.7961 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of Backend: time 8.42e-07/0.833, allocations: 0 / 0.7961 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.8341, allocations: 0.5421 MB / 0.7966 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007747/0.8349, allocations: 0.7523 MB / 0.7973 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.01197/0.8469, allocations: 4.689 MB / 0.8019 GB, free: 43.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)