Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.689/2.689, allocations: 287.3 MB / 302.3 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 185.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001731/0.001731, allocations: 104 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008134/0.0008134, allocations: 14.28 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2865, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9898/1.276, allocations: 138.4 MB / 1.113 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.277, allocations: 71.77 kB / 1.114 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01861/1.295, allocations: 3.969 MB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.895e-06/1.295, allocations: 3.844 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.064e-05/1.295, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 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.000905/1.296, allocations: 0.4938 MB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.296, allocations: 15.52 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/1.297, allocations: 47.64 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/1.297, allocations: 33.95 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/1.297, allocations: 170.5 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/1.297, allocations: 24.23 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.297, allocations: 33.55 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/1.298, allocations: 220.6 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.298, allocations: 7.938 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/1.298, allocations: 16.53 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.298, allocations: 3.953 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/1.298, allocations: 91.19 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.299, allocations: 0.544 MB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/1.3, allocations: 293.1 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/1.3, allocations: 0 / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/1.301, allocations: 0.5672 MB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 4.579e-06/1.301, allocations: 3.984 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001582/1.302, allocations: 0.6173 MB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/1.303, allocations: 59.66 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/1.303, allocations: 131 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/1.303, allocations: 56.86 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.428e-05/1.303, allocations: 102.1 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/1.303, allocations: 108.1 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/1.303, allocations: 13.75 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.303, allocations: 337 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/1.304, allocations: 188 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/1.305, allocations: 284.1 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/1.305, allocations: 195 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/1.305, allocations: 3.953 kB / 1.122 GB, free: 29.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001405/1.306, allocations: 0.5645 MB / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/1.307, allocations: 70.89 kB / 1.123 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.307, allocations: 8.688 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.307, allocations: 3.719 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.307, allocations: 29.62 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.307, allocations: 7.719 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/1.307, allocations: 82.11 kB / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/1.308, allocations: 31.88 kB / 1.123 GB, free: 29.13 MB / 0.698 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.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.falCleTruIni.u,falCleTruIni.u,falCleTruIni.clr,$PRE.falCleTruIni.y,falCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,falCleFalIni.clr,$PRE.falCleFalIni.y,falCleFalIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,truCleTruIni.clr,$PRE.truCleTruIni.y,truCleTruIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,truCleFalIni.clr,$PRE.truCleFalIni.y,truCleFalIni.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.y,cleInp.y,$PRE.togInp.y,togInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002998/1.308, allocations: 172.5 kB / 1.123 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/1.308, allocations: 31.2 kB / 1.123 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/1.308, allocations: 41.16 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.308, allocations: 7.75 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.308, allocations: 4 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.308, allocations: 3.188 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/1.31, allocations: 0.959 MB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.31, allocations: 3.938 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/1.31, allocations: 18.05 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.31, allocations: 7.75 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/1.31, allocations: 23.09 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.31, allocations: 7.812 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.31, allocations: 3.906 kB / 1.124 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.311, allocations: 0.6299 MB / 1.125 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/1.311, allocations: 95.62 kB / 1.125 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.312, allocations: 28.3 kB / 1.125 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/1.312, allocations: 14.3 kB / 1.125 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/1.312, allocations: 98.52 kB / 1.125 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/1.312, allocations: 31.84 kB / 1.125 GB, free: 28.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.741e-05/1.312, allocations: 105.5 kB / 1.125 GB, free: 28.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.312, allocations: 0 / 1.125 GB, free: 28.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006528/1.313, allocations: 104 kB / 1.125 GB, free: 28.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 48 (swiCleInp1.clr,swiCleInp.clr,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr) * Number of discrete states: 12 (truCleFalIni.u,truCleFalIni.y,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,swiCleInp1.u,swiCleInp1.y,swiCleInp.u,swiCleInp.y,falCleFalIni.u,falCleFalIni.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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.001669/1.315, allocations: 1.498 MB / 1.126 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001281/1.316, allocations: 0.5795 MB / 1.127 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.316, allocations: 0 / 1.127 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005049/1.316, allocations: 263.3 kB / 1.127 GB, free: 26.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/1.317, allocations: 29.92 kB / 1.127 GB, free: 26.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/1.319, allocations: 2.315 MB / 1.13 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/1.32, allocations: 0.7441 MB / 1.13 GB, free: 24.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002561/1.32, allocations: 35.58 kB / 1.13 GB, free: 24.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/1.32, allocations: 86.94 kB / 1.13 GB, free: 24.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.585e-06/1.32, allocations: 0 / 1.13 GB, free: 24.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/1.351, allocations: 6.202 MB / 1.136 GB, free: 22.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/1.351, allocations: 183.3 kB / 1.137 GB, free: 22.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.915, allocations: 0 / 1.137 GB, free: 22.6 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Toggle.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1)