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.395/1.395, 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.001012/0.001013, allocations: 178.4 kB / 326.5 MB, free: 2.676 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.882/1.882, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0009864/0.0009862, allocations: 94.95 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 14.39 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2074, 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.00177/0.2093, allocations: 1.217 MB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.2101, allocations: 377.5 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2102, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.556e-05/0.2103, allocations: 7.922 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2104, allocations: 7.938 kB / 0.8983 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.2108, allocations: 103.8 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.211, allocations: 247.3 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2112, allocations: 53.22 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2113, allocations: 99.72 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.2114, allocations: 87.67 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.2115, allocations: 12 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.2115, allocations: 12 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.2116, allocations: 55.84 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2117, allocations: 95.55 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2119, allocations: 227.2 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2119, allocations: 0 / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.006e-06/0.212, allocations: 0 / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.212, allocations: 0 / 0.8993 GB, free: 65.54 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.0007352/0.2127, allocations: 458.9 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2128, allocations: 8.031 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.116e-05/0.2129, allocations: 20.75 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.2132, allocations: 261.8 kB / 0.9 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.2133, allocations: 20.36 kB / 0.9 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.2133, allocations: 28.36 kB / 0.9 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.2136, allocations: 222.6 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2137, allocations: 192 / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.2137, allocations: 19.91 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2137, allocations: 0 / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2139, allocations: 91.89 kB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.2147, allocations: 0.5353 MB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.2153, allocations: 274.5 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2154, allocations: 116.8 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2155, allocations: 0 / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006858/0.2162, allocations: 0.538 MB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.913e-06/0.2162, allocations: 3.938 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0008015/0.217, allocations: 0.5006 MB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.217, allocations: 59.39 kB / 0.9023 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2171, allocations: 165.4 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.2172, allocations: 57.69 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.2173, allocations: 120.9 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.2173, allocations: 102.9 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.2174, allocations: 61.67 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.2175, allocations: 334.8 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2177, allocations: 141.1 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.2179, allocations: 243.5 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.2182, allocations: 251.6 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2182, allocations: 4 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0004631/0.2187, allocations: 406.6 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2187, allocations: 8 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2187, allocations: 4 kB / 0.9041 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2187, allocations: 7.984 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.2188, allocations: 31.8 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2188, allocations: 11.94 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.219, allocations: 39.67 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.219, allocations: 24.25 kB / 0.9043 GB, free: 60.15 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.0001355/0.2191, allocations: 167 kB / 0.9044 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.2192, allocations: 27.72 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.2193, allocations: 38.31 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2193, allocations: 7.922 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2193, allocations: 4 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2193, allocations: 88.92 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.2194, allocations: 31.98 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2195, allocations: 23.97 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.2197, allocations: 71.89 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005557/0.2203, allocations: 0.4937 MB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005099/0.2208, allocations: 0.5722 MB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002043/0.221, allocations: 200.2 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.2211, allocations: 106.5 kB / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of Backend: time 9.22e-07/0.2211, allocations: 0 / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006316/0.2217, allocations: 355.1 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006404/0.2223, allocations: 0.8082 MB / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.006239/0.2286, allocations: 3.798 MB / 0.9109 GB, free: 53.29 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)