Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.6 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 95 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003207, allocations: 11.06 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001506/0.2092, allocations: 1.217 MB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.2099, allocations: 369.6 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.21, allocations: 4 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.2101, allocations: 11.86 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.282e-05/0.2102, allocations: 3.938 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2105, allocations: 111.8 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.2107, allocations: 235.4 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2108, allocations: 61.14 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.2109, allocations: 95.72 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.463e-05/0.211, allocations: 87.69 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.2111, allocations: 12 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.2111, allocations: 12 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.2112, allocations: 59.83 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.2113, allocations: 87.61 kB / 0.8991 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.2114, allocations: 175.6 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2114, allocations: 0 / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2114, allocations: 0 / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2114, allocations: 0 / 0.8992 GB, free: 65.61 MB / 0.6042 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.0006404/0.2121, allocations: 447 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2121, allocations: 12.03 kB / 0.8997 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.2122, allocations: 24.73 kB / 0.8997 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.2126, allocations: 258 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.2126, allocations: 20.36 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.2127, allocations: 32.36 kB / 0.9 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.213, allocations: 214.7 kB / 0.9002 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.213, allocations: 4.125 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.213, allocations: 23.89 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2131, allocations: 4 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.2132, allocations: 99.81 kB / 0.9003 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.214, allocations: 0.5197 MB / 0.9008 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.2146, allocations: 286.5 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2147, allocations: 108.8 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2148, allocations: 7.938 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.2154, allocations: 0.5263 MB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.424e-06/0.2154, allocations: 0 / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007411/0.2161, allocations: 0.5122 MB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2162, allocations: 59.41 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2163, allocations: 161.2 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.2163, allocations: 61.69 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.2164, allocations: 124.9 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.2165, allocations: 90.94 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.2165, allocations: 61.69 kB / 0.9027 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.2166, allocations: 334.8 kB / 0.9031 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2168, allocations: 145.1 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.2171, allocations: 239.5 kB / 0.9034 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2175, allocations: 255.6 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.2175, allocations: 0 / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006209/0.2181, allocations: 414.7 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.2181, allocations: 8 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2181, allocations: 0 / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.2182, allocations: 11.94 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.2183, allocations: 27.86 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.2183, allocations: 4 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.2185, allocations: 43.67 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.2185, allocations: 20 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition26,$whenCondition25,tru.y,fal.y,truCle.clr,falCle.clr,iniFalOut.clr,iniTruOut.clr,togInp.pulseStart,$PRE.togInp.pulseStart,cleInp.pulseStart,$PRE.cleInp.pulseStart,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,iniTruOut.y,$PRE.iniTruOut.y,iniTruOut.u,$PRE.iniTruOut.u,iniFalOut.y,$PRE.iniFalOut.y,iniFalOut.u,$PRE.iniFalOut.u,truCle.y,$PRE.truCle.y,truCle.u,$PRE.truCle.u,falCle.y,$PRE.falCle.y,falCle.u,$PRE.falCle.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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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.0001799/0.2187, allocations: 175 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.2188, allocations: 27.72 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.2189, allocations: 38.3 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2189, allocations: 7.938 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.2189, allocations: 0 / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2189, allocations: 4 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.22, allocations: 0.8812 MB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.22, allocations: 0 / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.2201, allocations: 23.92 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.2201, allocations: 4 kB / 0.9053 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.2201, allocations: 19.97 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2201, allocations: 0 / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2202, allocations: 4 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.2207, allocations: 0.4949 MB / 0.9058 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2208, allocations: 96.83 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.2209, allocations: 27.98 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.221, allocations: 23.98 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2212, allocations: 67.83 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.2212, allocations: 35.95 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.2213, allocations: 114.6 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2213, allocations: 0 / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003438/0.2216, allocations: 75.98 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (swiCleInp1.clr,swiCleInp.clr,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.pulseStart,togInp.pulseStart) * Number of discrete states: 12 (iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,falCle.u,falCle.y,truCle.u,truCle.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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.0001752/0.2218, allocations: 149.8 kB / 0.9064 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.2224, allocations: 366.8 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2224, allocations: 0 / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.2226, allocations: 215.9 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.223, allocations: 44.52 kB / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.2239, allocations: 0.539 MB / 0.9075 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.2241, allocations: 0.7335 MB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.2242, allocations: 43.41 kB / 0.9083 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.2242, allocations: 4 kB / 0.9083 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.005495/0.2297, allocations: 3.465 MB / 0.9117 GB, free: 52.43 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)