Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.539/2.539, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 181.5 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.516/2.516, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 91.19 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004954, allocations: 14.5 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2073, allocations: 106.3 MB / 0.8991 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00175/0.2091, allocations: 1.189 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.21, allocations: 369.2 kB / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.2101, allocations: 0 / 0.9006 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.2101, allocations: 11.86 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.552e-05/0.2102, allocations: 3.938 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.2106, allocations: 95.84 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.2108, allocations: 219.6 kB / 0.9009 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.211, allocations: 45.28 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2111, allocations: 95.72 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2113, allocations: 91.67 kB / 0.9011 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.2113, allocations: 12 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.366e-05/0.2114, allocations: 12 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.2115, allocations: 51.84 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.2115, allocations: 61.58 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2118, allocations: 171.6 kB / 0.9014 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2118, allocations: 3.938 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2118, allocations: 4 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2118, allocations: 0 / 0.9014 GB, free: 62.94 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.0008654/0.2127, allocations: 452.5 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2127, allocations: 8.031 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.2128, allocations: 24.83 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.2133, allocations: 260 kB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.2134, allocations: 20.36 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.2134, allocations: 24.36 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.214, allocations: 218 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.214, allocations: 7.922 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.214, allocations: 15.97 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2141, allocations: 4 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.2144, allocations: 100.5 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.2155, allocations: 0.5275 MB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.2165, allocations: 286.6 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.2168, allocations: 104.8 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2168, allocations: 4 kB / 0.9034 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.2178, allocations: 0.5299 MB / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.036e-06/0.2179, allocations: 0 / 0.9039 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001278/0.2192, allocations: 0.5046 MB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2192, allocations: 63.34 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2194, allocations: 156.4 kB / 0.9046 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.763e-05/0.2195, allocations: 57.69 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.2195, allocations: 120.9 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.2196, allocations: 98.92 kB / 0.9049 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.2197, allocations: 8 kB / 0.9049 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2198, allocations: 338.8 kB / 0.9052 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.2201, allocations: 141.1 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.2206, allocations: 235.6 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.2208, allocations: 106.1 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2209, allocations: 0 / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008429/0.2217, allocations: 406.8 kB / 0.906 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2217, allocations: 8.031 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2218, allocations: 4 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.2218, allocations: 7.938 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2219, allocations: 31.86 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.222, allocations: 7.938 kB / 0.9061 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2222, allocations: 43.67 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-05/0.2223, allocations: 16 kB / 0.9062 GB, free: 57.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.2226, allocations: 171 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.2226, allocations: 23.72 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2228, allocations: 46.23 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2228, allocations: 4 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2228, allocations: 0 / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2228, allocations: 0 / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.2245, allocations: 0.8888 MB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2245, allocations: 0 / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.2246, allocations: 11.92 kB / 0.9073 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.2246, allocations: 7.984 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.2246, allocations: 23.97 kB / 0.9073 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.2247, allocations: 4 kB / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2247, allocations: 0 / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.2256, allocations: 0.4986 MB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.2256, allocations: 88.92 kB / 0.9079 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2257, allocations: 27.98 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.226, allocations: 27.98 kB / 0.9079 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.2263, allocations: 91.8 kB / 0.908 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/0.2264, allocations: 35.95 kB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.886e-05/0.2265, allocations: 104.2 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2265, allocations: 0 / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004852/0.227, allocations: 75.98 kB / 0.9082 GB, free: 55.59 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 (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.0002156/0.2272, allocations: 145.8 kB / 0.9084 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008662/0.2281, allocations: 371.3 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2281, allocations: 0 / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.2285, allocations: 211.8 kB / 0.9089 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000505/0.229, allocations: 47.78 kB / 0.909 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2303, allocations: 0.4899 MB / 0.9094 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.2305, allocations: 0.7335 MB / 0.9102 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.2307, allocations: 42.95 kB / 0.9102 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.231, allocations: 47.41 kB / 0.9102 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/0.231, allocations: 0 / 0.9102 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.009629/0.2406, allocations: 3.55 MB / 0.9137 GB, free: 49.93 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)