Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 192.2 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.121/3.121, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 66.06 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3866, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.002481/0.3891, allocations: 0.811 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3913, allocations: 1.369 MB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.3914, allocations: 4 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.818e-05/0.3915, allocations: 7.922 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.034e-05/0.3916, allocations: 7.875 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.3924, allocations: 290.4 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3927, allocations: 335.2 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.3929, allocations: 53.06 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.393, allocations: 143.8 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.3932, allocations: 119.6 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.3933, allocations: 20 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3934, allocations: 32 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.3935, allocations: 71.77 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3936, allocations: 123.6 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.394, allocations: 319.4 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.394, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.394, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.394, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8262 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.0008288/0.3948, allocations: 0.5492 MB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3949, allocations: 12.03 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.395, allocations: 20.84 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.3956, allocations: 260.2 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.3956, allocations: 24.36 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.3957, allocations: 32.36 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.3961, allocations: 221.9 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3961, allocations: 7.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.3962, allocations: 15.97 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3962, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.3965, allocations: 93.25 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.3973, allocations: 0.5703 MB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.3978, allocations: 246.7 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.398, allocations: 124.7 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.398, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008031/0.3989, allocations: 0.5491 MB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.3989, allocations: 0 / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001073/0.3999, allocations: 0.5645 MB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4, allocations: 59.34 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4002, allocations: 147.3 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.4003, allocations: 65.69 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4004, allocations: 116.9 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.4005, allocations: 102.8 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.4007, allocations: 126.2 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4008, allocations: 338.8 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.4011, allocations: 181.1 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.4016, allocations: 293.8 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.402, allocations: 369.1 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.4021, allocations: 4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009347/0.403, allocations: 0.5682 MB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.4031, allocations: 63.39 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4031, allocations: 4 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4031, allocations: 4 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.4032, allocations: 31.8 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4032, allocations: 8 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.4036, allocations: 87.91 kB / 1.077 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.4037, allocations: 27.98 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.0001962/0.4039, allocations: 174.9 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.4039, allocations: 27.8 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.404, allocations: 42.31 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.404, allocations: 7.938 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4041, allocations: 0 / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4041, allocations: 0 / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.4053, allocations: 0.8809 MB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4053, allocations: 7.922 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.4054, allocations: 11.94 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4054, allocations: 3.938 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.4054, allocations: 19.97 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4054, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4054, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.4063, allocations: 0.5345 MB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.4064, allocations: 100.8 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.4065, allocations: 27.98 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4066, allocations: 12 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.4068, allocations: 71.89 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.4069, allocations: 35.95 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.4069, allocations: 108.5 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.4069, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003932/0.4073, allocations: 92 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (swiCleInp1.clr,swiCleInp.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.y,swiCleInp1.u,swiCleInp1.y,cleInp.y,togInp.y) * Number of discrete states: 12 (falCleFalIni.u,falCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * 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.0002378/0.4076, allocations: 151.2 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000832/0.4084, allocations: 0.5645 MB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4084, allocations: 0.75 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.4088, allocations: 255.8 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4092, allocations: 50.56 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.4101, allocations: 474.5 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.4105, allocations: 0.7412 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.4107, allocations: 34.97 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.4108, allocations: 51.39 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4108, allocations: 0 / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.009531/0.4204, allocations: 4.665 MB / 1.086 GB, free: 7.738 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)