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.745/1.745, allocations: 288.4 MB / 303.4 MB, free: 8.008 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.001061/0.001061, allocations: 173.2 kB / 372 MB, free: 10.28 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.738/1.738, allocations: 205.4 MB / 0.6307 GB, free: 9.945 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.0008905/0.0008909, allocations: 98.23 kB / 0.7441 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 12.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.0009027/0.2119, allocations: 486.2 kB / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2134, allocations: 1.321 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.2134, allocations: 4 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.2135, allocations: 11.86 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.238e-05/0.2135, allocations: 3.938 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.2142, allocations: 269.7 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.2144, allocations: 299.6 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2145, allocations: 41.58 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2146, allocations: 131.8 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2148, allocations: 107.6 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.2148, allocations: 16 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.2149, allocations: 35.98 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.215, allocations: 55.84 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.2151, allocations: 61.64 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2152, allocations: 235.7 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2153, allocations: 0 / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2153, allocations: 0 / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2153, allocations: 0 / 0.9826 GB, free: 24.59 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.0005614/0.2158, allocations: 478.3 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2159, allocations: 12.02 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.216, allocations: 31.89 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.2165, allocations: 272.3 kB / 0.9833 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.2166, allocations: 27.98 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.2166, allocations: 31.98 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.217, allocations: 214.3 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.217, allocations: 3.938 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.217, allocations: 23.91 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.217, allocations: 4 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2172, allocations: 95.81 kB / 0.9837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.2179, allocations: 0.5703 MB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.2183, allocations: 246.6 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.2184, allocations: 116.8 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2184, allocations: 4 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.219, allocations: 0.5507 MB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.573e-06/0.2191, allocations: 0 / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.000795/0.2199, allocations: 0.5558 MB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.2199, allocations: 55.41 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.22, allocations: 151.5 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.2201, allocations: 65.69 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.2202, allocations: 116.9 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.2203, allocations: 98.84 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2203, allocations: 16 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.2204, allocations: 338.8 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.2207, allocations: 185.1 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.221, allocations: 289.8 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.2213, allocations: 193.5 kB / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2213, allocations: 0 / 0.9871 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006933/0.222, allocations: 0.5643 MB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.222, allocations: 63.39 kB / 0.9877 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.222, allocations: 4 kB / 0.9878 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.2221, allocations: 8 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.2222, allocations: 27.86 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2222, allocations: 4.375 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.2226, allocations: 107.6 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.2226, allocations: 27.98 kB / 0.9879 GB, free: 18.8 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.0001421/0.2228, allocations: 178.8 kB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.2228, allocations: 35.66 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.2229, allocations: 38.31 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2229, allocations: 4 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2229, allocations: 4 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2229, allocations: 3.984 kB / 0.9882 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.2238, allocations: 0.8742 MB / 0.989 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2238, allocations: 4 kB / 0.989 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.2239, allocations: 19.92 kB / 0.989 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2239, allocations: 0 / 0.989 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2239, allocations: 23.97 kB / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2239, allocations: 0 / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2239, allocations: 0 / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.2245, allocations: 0.5383 MB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.2245, allocations: 100.7 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.2246, allocations: 27.98 kB / 0.9897 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.2247, allocations: 16 kB / 0.9897 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.2249, allocations: 91.8 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.2249, allocations: 35.97 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.225, allocations: 104.7 kB / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.225, allocations: 0 / 0.99 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003892/0.2254, allocations: 91.98 kB / 0.99 GB, free: 16.52 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.0002832/0.2257, allocations: 147.9 kB / 0.9902 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.2264, allocations: 0.5603 MB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2264, allocations: 0 / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2267, allocations: 256.1 kB / 0.991 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.227, allocations: 49.64 kB / 0.991 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.2277, allocations: 473.4 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2278, allocations: 0.7296 MB / 0.9922 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.2279, allocations: 46.95 kB / 0.9922 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2281, allocations: 47.41 kB / 0.9923 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2281, allocations: 0 / 0.9923 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.00625/0.2343, allocations: 4.443 MB / 0.9966 GB, free: 9.746 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)