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.428/1.428, allocations: 252 MB / 268 MB, free: 10.85 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.0009548/0.0009548, allocations: 184.4 kB / 327.6 MB, free: 2.086 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.927/1.927, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008167/0.0008169, allocations: 86.39 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8.531 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001486/0.2099, allocations: 1.205 MB / 0.9026 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.2106, allocations: 356 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.2106, allocations: 4 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.2107, allocations: 11.86 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.2108, allocations: 7.922 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.211, allocations: 103.9 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.2112, allocations: 243.3 kB / 0.9033 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2113, allocations: 59.23 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.2114, allocations: 91.73 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.2115, allocations: 87.67 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.2116, allocations: 19.94 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.853e-05/0.2116, allocations: 12 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.2117, allocations: 55.84 kB / 0.9036 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.2118, allocations: 113.4 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2119, allocations: 175.6 kB / 0.9039 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2119, allocations: 3.938 kB / 0.9039 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2119, allocations: 3.938 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2119, allocations: 0 / 0.9039 GB, free: 60.93 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.0006311/0.2126, allocations: 451.2 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2126, allocations: 8.031 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.2127, allocations: 28.75 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.213, allocations: 257.8 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.2131, allocations: 20.38 kB / 0.9047 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.2131, allocations: 28.36 kB / 0.9047 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.2134, allocations: 218 kB / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2134, allocations: 192 / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2135, allocations: 15.92 kB / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2135, allocations: 4 kB / 0.9049 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2137, allocations: 96.47 kB / 0.905 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.2144, allocations: 0.5314 MB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.215, allocations: 282.5 kB / 0.9058 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2152, allocations: 108.8 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2152, allocations: 4 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005857/0.2158, allocations: 0.5302 MB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.2158, allocations: 0 / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007125/0.2165, allocations: 0.5123 MB / 0.9069 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.2166, allocations: 55.41 kB / 0.907 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.2167, allocations: 173.5 kB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.2167, allocations: 53.7 kB / 0.9072 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.2168, allocations: 116.9 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.2168, allocations: 98.92 kB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.2169, allocations: 12 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.2169, allocations: 334.8 kB / 0.9077 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2171, allocations: 141.1 kB / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2174, allocations: 239.6 kB / 0.9081 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.2176, allocations: 259.5 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2177, allocations: 3.938 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000469/0.2181, allocations: 410.8 kB / 0.9087 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2181, allocations: 7.938 kB / 0.9087 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2182, allocations: 4 kB / 0.9087 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2182, allocations: 7.938 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.2183, allocations: 23.92 kB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2183, allocations: 11.94 kB / 0.9088 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2184, allocations: 39.67 kB / 0.9088 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.2185, allocations: 23.94 kB / 0.9088 GB, free: 55.61 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,$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.falCle.u,falCle.u,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.y,iniTruOut.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.pulseStart,cleInp.pulseStart,$PRE.togInp.pulseStart,togInp.pulseStart,iniTruOut.clr,iniFalOut.clr,falCle.clr,truCle.clr) * 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.0001283/0.2186, allocations: 171.1 kB / 0.909 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.2187, allocations: 31.72 kB / 0.909 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/0.2187, allocations: 42.3 kB / 0.9091 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2188, allocations: 7.938 kB / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2188, allocations: 0 / 0.9091 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2188, allocations: 4 kB / 0.9091 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/0.2197, allocations: 0.8773 MB / 0.91 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2197, allocations: 0 / 0.91 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.2198, allocations: 19.92 kB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2198, allocations: 4 kB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.2198, allocations: 19.97 kB / 0.91 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2198, allocations: 7.984 kB / 0.91 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2199, allocations: 0 / 0.91 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.2203, allocations: 0.4988 MB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.2204, allocations: 92.83 kB / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.2205, allocations: 27.98 kB / 0.9106 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.2206, allocations: 23.98 kB / 0.9106 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.2208, allocations: 67.89 kB / 0.9107 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.2208, allocations: 39.95 kB / 0.9107 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.2209, allocations: 103.3 kB / 0.9108 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2209, allocations: 0 / 0.9108 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000295/0.2212, allocations: 79.92 kB / 0.9109 GB, free: 53.39 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.0001584/0.2213, allocations: 149.8 kB / 0.911 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2218, allocations: 362.8 kB / 0.9114 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2218, allocations: 4 kB / 0.9114 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.2221, allocations: 219.9 kB / 0.9116 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2224, allocations: 47.08 kB / 0.9117 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008304/0.2233, allocations: 0.5302 MB / 0.9122 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2234, allocations: 0.7335 MB / 0.9129 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.2236, allocations: 47.41 kB / 0.9129 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/0.2236, allocations: 4 kB / 0.9129 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.004104/0.2277, allocations: 3.47 MB / 0.9163 GB, free: 47.8 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)