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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01008/0.01007, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.0019/0.0019, allocations: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.673/1.673, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001618, allocations: 73.78 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3245, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.004702/0.3293, allocations: 1.498 MB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3307, allocations: 359.9 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.3308, allocations: 4 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.94e-05/0.3309, allocations: 11.81 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.3311, allocations: 19.84 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.3318, allocations: 115.8 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.3323, allocations: 255.6 kB / 0.8303 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.3325, allocations: 52.59 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.3329, allocations: 119.7 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3331, allocations: 103.7 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.3332, allocations: 24 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.3333, allocations: 28 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.3335, allocations: 71.78 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.3337, allocations: 103.7 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.3342, allocations: 251.2 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3342, allocations: 0 / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3342, allocations: 0 / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3343, allocations: 4 kB / 0.831 GB, free: 13.2 MB / 0.6544 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.001541/0.3358, allocations: 0.4987 MB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 9.187e-05/0.3359, allocations: 8.031 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3361, allocations: 20.75 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006872/0.3368, allocations: 256 kB / 0.8317 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.3368, allocations: 20.3 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.3369, allocations: 32.31 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.3377, allocations: 222.8 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3377, allocations: 192 / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/0.3378, allocations: 19.91 kB / 0.832 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.3378, allocations: 4 kB / 0.832 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.3382, allocations: 87.94 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.3397, allocations: 0.5197 MB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3409, allocations: 270.4 kB / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.3412, allocations: 108.8 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3413, allocations: 0 / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.3427, allocations: 0.5448 MB / 0.8335 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 3.566e-06/0.3427, allocations: 0 / 0.8335 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.001768/0.3445, allocations: 0.5008 MB / 0.834 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3446, allocations: 59.39 kB / 0.8341 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.3448, allocations: 160.3 kB / 0.8342 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.345, allocations: 57.69 kB / 0.8343 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.3451, allocations: 124.9 kB / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3453, allocations: 90.94 kB / 0.8345 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.3455, allocations: 110.1 kB / 0.8346 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000301/0.3459, allocations: 338.8 kB / 0.8349 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.3463, allocations: 137.1 kB / 0.835 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.347, allocations: 243.4 kB / 0.8353 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.3479, allocations: 263.6 kB / 0.8355 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3479, allocations: 0 / 0.8355 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001141/0.3491, allocations: 406.6 kB / 0.8359 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.3491, allocations: 12.31 kB / 0.8359 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3492, allocations: 0 / 0.8359 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.912e-05/0.3492, allocations: 11.94 kB / 0.8359 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.3494, allocations: 31.84 kB / 0.836 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.3495, allocations: 4 kB / 0.836 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.3498, allocations: 35.73 kB / 0.836 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.3498, allocations: 20 kB / 0.836 GB, free: 7.746 MB / 0.6544 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,truCle.clr,falCle.clr,iniFalOut.clr,iniTruOut.clr,togInp.pulseStart,$PRE.togInp.pulseStart,cleInp.pulseStart,$PRE.cleInp.pulseStart,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,iniTruOut.y,$PRE.iniTruOut.y,iniTruOut.u,$PRE.iniTruOut.u,iniFalOut.y,$PRE.iniFalOut.y,iniFalOut.u,$PRE.iniFalOut.u,truCle.y,$PRE.truCle.y,truCle.u,$PRE.truCle.u,falCle.y,$PRE.falCle.y,falCle.u,$PRE.falCle.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 (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.000402/0.3503, allocations: 174.9 kB / 0.8362 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3504, allocations: 23.81 kB / 0.8362 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.3506, allocations: 34.31 kB / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.3506, allocations: 11.94 kB / 0.8362 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.3506, allocations: 4 kB / 0.8363 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3507, allocations: 3.984 kB / 0.8363 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.3532, allocations: 0.8856 MB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3532, allocations: 3.938 kB / 0.8371 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.3533, allocations: 11.94 kB / 0.8371 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3533, allocations: 4 kB / 0.8371 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.3534, allocations: 19.97 kB / 0.8372 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.3534, allocations: 7.984 kB / 0.8372 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3534, allocations: 0 / 0.8372 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3546, allocations: 500 kB / 0.8376 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.3548, allocations: 96.83 kB / 0.8377 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.3549, allocations: 27.98 kB / 0.8378 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.3552, allocations: 19.97 kB / 0.8378 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/0.3556, allocations: 71.89 kB / 0.8379 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3557, allocations: 31.97 kB / 0.8379 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001247/0.3558, allocations: 110.1 kB / 0.838 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.11e-07/0.3559, allocations: 0 / 0.838 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006732/0.3566, allocations: 72 kB / 0.8381 GB, free: 5.551 MB / 0.6544 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.0003266/0.3569, allocations: 149.8 kB / 0.8382 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.3581, allocations: 375.5 kB / 0.8386 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3582, allocations: 3.938 kB / 0.8386 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.3587, allocations: 216 kB / 0.8388 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.3594, allocations: 46.56 kB / 0.8388 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3612, allocations: 468.7 kB / 0.8393 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/0.3619, allocations: 0.7371 MB / 0.84 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.3622, allocations: 38.95 kB / 0.84 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.3624, allocations: 43.41 kB / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.3624, allocations: 0 / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of Templates: time 0.0177/0.3802, allocations: 3.678 MB / 0.8436 GB, free: 15.77 MB / 0.67 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)