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.001604/0.001604, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.00176/0.00176, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.669/1.669, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.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.705/1.705, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001425/0.001425, allocations: 67.58 kB / 0.6717 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2943, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002541/0.2969, allocations: 0.83 MB / 0.7843 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.299, allocations: 1.34 MB / 0.7857 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.2991, allocations: 4 kB / 0.7857 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.555e-05/0.2992, allocations: 7.922 kB / 0.7857 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.2993, allocations: 7.922 kB / 0.7857 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008675/0.3002, allocations: 296 kB / 0.786 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.3006, allocations: 367.5 kB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.3008, allocations: 56.86 kB / 0.7864 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.301, allocations: 151.8 kB / 0.7865 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3011, allocations: 135.6 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.3012, allocations: 36 kB / 0.7867 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3013, allocations: 55.91 kB / 0.7867 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.3014, allocations: 67.86 kB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.3016, allocations: 139.6 kB / 0.7869 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.3019, allocations: 243.7 kB / 0.7872 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3019, allocations: 0 / 0.7872 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.087e-06/0.3019, allocations: 3.984 kB / 0.7872 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.3019, allocations: 0 / 0.7872 GB, free: 10.18 MB / 0.6075 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.0009296/0.3028, allocations: 0.5531 MB / 0.7877 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3029, allocations: 8.031 kB / 0.7877 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.3031, allocations: 28.75 kB / 0.7877 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.3038, allocations: 256.3 kB / 0.788 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.3038, allocations: 20.36 kB / 0.788 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.3039, allocations: 36.36 kB / 0.788 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.3043, allocations: 221.9 kB / 0.7882 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3043, allocations: 3.938 kB / 0.7882 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.3044, allocations: 23.91 kB / 0.7883 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3044, allocations: 4 kB / 0.7883 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.3046, allocations: 91.94 kB / 0.7884 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.3054, allocations: 0.5664 MB / 0.7889 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.3058, allocations: 242.6 kB / 0.7891 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.3062, allocations: 116.8 kB / 0.7893 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3062, allocations: 4 kB / 0.7893 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008466/0.307, allocations: 0.5492 MB / 0.7898 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.295e-06/0.3071, allocations: 3.938 kB / 0.7898 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.001134/0.3082, allocations: 0.5518 MB / 0.7903 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3083, allocations: 67.3 kB / 0.7904 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3085, allocations: 156.3 kB / 0.7906 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.3086, allocations: 57.69 kB / 0.7906 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.3087, allocations: 116.8 kB / 0.7907 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.3088, allocations: 98.94 kB / 0.7908 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.309, allocations: 126.2 kB / 0.7909 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3091, allocations: 338.8 kB / 0.7913 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.3094, allocations: 181.1 kB / 0.7914 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.3098, allocations: 297.8 kB / 0.7917 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.3103, allocations: 369.1 kB / 0.7921 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3103, allocations: 0 / 0.7921 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008712/0.3112, allocations: 0.5682 MB / 0.7926 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.3113, allocations: 75.33 kB / 0.7927 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3113, allocations: 4 kB / 0.7927 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3113, allocations: 7.984 kB / 0.7927 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.3114, allocations: 31.8 kB / 0.7927 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.3114, allocations: 4 kB / 0.7927 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.3118, allocations: 87.94 kB / 0.7928 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.3119, allocations: 27.98 kB / 0.7928 GB, free: 3.988 MB / 0.6075 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.0002193/0.3121, allocations: 174.9 kB / 0.793 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.3122, allocations: 27.8 kB / 0.793 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.53e-05/0.3123, allocations: 42.31 kB / 0.7931 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3123, allocations: 7.938 kB / 0.7931 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3123, allocations: 0 / 0.7931 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3123, allocations: 3.984 kB / 0.7931 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3136, allocations: 0.8743 MB / 0.7939 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3136, allocations: 3.938 kB / 0.794 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.3137, allocations: 11.94 kB / 0.794 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3137, allocations: 4 kB / 0.794 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.3137, allocations: 23.97 kB / 0.794 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3137, allocations: 4 kB / 0.794 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3137, allocations: 0 / 0.794 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.3144, allocations: 0.538 MB / 0.7945 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3145, allocations: 96.8 kB / 0.7946 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.3145, allocations: 31.92 kB / 0.7946 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.3146, allocations: 12 kB / 0.7947 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.3148, allocations: 67.89 kB / 0.7947 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.3149, allocations: 35.97 kB / 0.7948 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.86e-05/0.3149, allocations: 102.1 kB / 0.7948 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.315, allocations: 0 / 0.7948 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004086/0.3154, allocations: 99.91 kB / 0.7949 GB, free: 1.742 MB / 0.6075 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.0002494/0.3156, allocations: 151.2 kB / 0.7951 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000961/0.3166, allocations: 0.5804 MB / 0.7957 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3166, allocations: 0 / 0.7957 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.3169, allocations: 264.4 kB / 0.7959 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3173, allocations: 47.84 kB / 0.796 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.3182, allocations: 0.4908 MB / 0.7964 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3186, allocations: 0.7371 MB / 0.7972 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3188, allocations: 51.39 kB / 0.7972 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.3188, allocations: 0 / 0.7972 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.006704/0.3255, allocations: 3.934 MB / 0.801 GB, free: 11.45 MB / 0.6231 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)