Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.127/2.127, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001385/0.001385, allocations: 179 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.39/2.39, allocations: 205.4 MB / 0.5772 GB, free: 20.72 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.0009553/0.0009552, allocations: 101.2 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007361/0.0007364, allocations: 14.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2163, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/0.5058, allocations: 131.8 MB / 1.028 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5061, allocations: 79.94 kB / 1.028 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008712/0.5149, allocations: 1.98 MB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5149, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.515, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 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.001018/0.516, allocations: 455.2 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.516, allocations: 16.03 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.5162, allocations: 16.84 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.5163, allocations: 182.3 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.5164, allocations: 20.36 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.243e-05/0.5165, allocations: 24.38 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.5171, allocations: 223 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5172, allocations: 192 / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.5172, allocations: 15.92 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5172, allocations: 4 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.5176, allocations: 95.88 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.519, allocations: 0.5508 MB / 1.032 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5202, allocations: 326.6 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.5206, allocations: 144.8 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.5206, allocations: 3.953 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.522, allocations: 0.5568 MB / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 7.875e-06/0.522, allocations: 8 kB / 1.033 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.002661/0.5247, allocations: 0.5533 MB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.5249, allocations: 59.16 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.5252, allocations: 143.3 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.5255, allocations: 61.62 kB / 1.034 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5257, allocations: 113 kB / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.526, allocations: 98.89 kB / 1.034 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.5261, allocations: 12 kB / 1.034 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002584/0.5263, allocations: 346.8 kB / 1.034 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008638/0.5272, allocations: 141.1 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008303/0.5281, allocations: 226.1 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.5286, allocations: 94.12 kB / 1.035 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.5286, allocations: 3.938 kB / 1.035 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001932/0.5306, allocations: 398.6 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.5307, allocations: 4 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.5307, allocations: 8.25 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.5307, allocations: 4 kB / 1.035 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.531, allocations: 27.92 kB / 1.035 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.486e-05/0.531, allocations: 7.938 kB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.5315, allocations: 23.98 kB / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.5316, allocations: 23.94 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.clr,$PRE.truCle.clr,$PRE.iniFalOut.clr,$PRE.iniTruOut.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.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,$PRE.falCle.u,falCle.u,falCle.clr,$PRE.falCle.y,falCle.y,$PRE.truCle.u,truCle.u,truCle.clr,$PRE.truCle.y,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.clr,$PRE.iniFalOut.y,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.clr,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0003901/0.532, allocations: 175.5 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.5321, allocations: 27.72 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.5324, allocations: 38.3 kB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5324, allocations: 4 kB / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5325, allocations: 0 / 1.035 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.5325, allocations: 4 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.5362, allocations: 0.9688 MB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5362, allocations: 4.125 kB / 1.036 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.5363, allocations: 19.88 kB / 1.036 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.5363, allocations: 3.984 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.5364, allocations: 23.97 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5364, allocations: 4 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5364, allocations: 0 / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.5377, allocations: 0.5411 MB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.5378, allocations: 92.86 kB / 1.037 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5379, allocations: 27.98 kB / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.5382, allocations: 31.97 kB / 1.037 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.5386, allocations: 91.8 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.5387, allocations: 43.95 kB / 1.037 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001136/0.5388, allocations: 109.1 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5388, allocations: 0 / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005319/0.5393, allocations: 75.98 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 46 (swiCleInp.clr,swiCleInp1.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,falCle.clr,iniFalOut.clr,iniTruOut.clr,truCle.clr) * Number of discrete states: 12 (iniTruOut.u,iniTruOut.y,iniFalOut.u,iniFalOut.y,truCle.u,truCle.y,falCle.u,falCle.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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.0002755/0.5396, allocations: 147.1 kB / 1.037 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.5407, allocations: 378.8 kB / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5407, allocations: 0 / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.5413, allocations: 227.8 kB / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.5419, allocations: 57.84 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.5435, allocations: 0.5373 MB / 1.039 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.5439, allocations: 0.7377 MB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.5441, allocations: 38.95 kB / 1.039 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.5443, allocations: 47.41 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of SimCode: time 8.51e-07/0.5444, allocations: 0 / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of Templates: time 0.01186/0.5562, allocations: 3.656 MB / 1.043 GB, free: 13.99 MB / 0.698 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)