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.00193/0.00193, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002483/0.002483, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.72/1.72, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.622/1.622, allocations: 251.7 MB / 0.5089 GB, free: 3.266 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.001643/0.001642, allocations: 67.89 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7024/0.7041, allocations: 104.7 MB / 0.724 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.003354/0.7075, allocations: 1.552 MB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008851/0.7084, allocations: 360 kB / 0.7259 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.7085, allocations: 4 kB / 0.7259 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.59e-05/0.7086, allocations: 7.922 kB / 0.7259 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.7087, allocations: 19.84 kB / 0.7259 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.7091, allocations: 99.88 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.7094, allocations: 255.3 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.7096, allocations: 60.98 kB / 0.7263 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.7098, allocations: 115.7 kB / 0.7264 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.71, allocations: 99.66 kB / 0.7265 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.71, allocations: 24 kB / 0.7265 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.7101, allocations: 24 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.7102, allocations: 79.78 kB / 0.7266 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.7104, allocations: 103.7 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.7107, allocations: 249.2 kB / 0.727 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7107, allocations: 0 / 0.727 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7107, allocations: 0 / 0.727 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7108, allocations: 0 / 0.727 GB, free: 10.1 MB / 0.545 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.00103/0.7118, allocations: 0.491 MB / 0.7274 GB, free: 9.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.7119, allocations: 8.031 kB / 0.7274 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.712, allocations: 24.75 kB / 0.7275 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.7124, allocations: 259.9 kB / 0.7277 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.7124, allocations: 16.36 kB / 0.7277 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.7125, allocations: 36.34 kB / 0.7278 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.7129, allocations: 218 kB / 0.728 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.7129, allocations: 192 / 0.728 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.713, allocations: 19.91 kB / 0.728 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.713, allocations: 4 kB / 0.728 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.7132, allocations: 95.88 kB / 0.7281 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.714, allocations: 0.5158 MB / 0.7286 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.7147, allocations: 266.7 kB / 0.7288 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.7149, allocations: 112.7 kB / 0.729 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.7149, allocations: 4 kB / 0.729 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000848/0.7158, allocations: 0.5364 MB / 0.7295 GB, free: 7.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 4.238e-06/0.7158, allocations: 0 / 0.7295 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009218/0.7167, allocations: 0.5122 MB / 0.73 GB, free: 6.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.7168, allocations: 63.39 kB / 0.73 GB, free: 6.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7169, allocations: 163.3 kB / 0.7302 GB, free: 6.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.717, allocations: 61.69 kB / 0.7303 GB, free: 6.512 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.7171, allocations: 112.9 kB / 0.7304 GB, free: 6.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.7172, allocations: 98.94 kB / 0.7305 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.7174, allocations: 102.1 kB / 0.7306 GB, free: 6.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.7176, allocations: 334.8 kB / 0.7309 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.7178, allocations: 141.1 kB / 0.731 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/0.7183, allocations: 243.6 kB / 0.7312 GB, free: 5.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.7187, allocations: 255.5 kB / 0.7315 GB, free: 5.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.7187, allocations: 0 / 0.7315 GB, free: 5.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008371/0.7195, allocations: 410.6 kB / 0.7319 GB, free: 4.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7196, allocations: 4 kB / 0.7319 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7196, allocations: 4 kB / 0.7319 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.7196, allocations: 7.938 kB / 0.7319 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.7197, allocations: 27.86 kB / 0.7319 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.7197, allocations: 11.94 kB / 0.7319 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.7199, allocations: 47.98 kB / 0.732 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.7199, allocations: 16 kB / 0.732 GB, free: 4.652 MB / 0.545 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.0001763/0.7201, allocations: 167 kB / 0.7321 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.7202, allocations: 19.81 kB / 0.7322 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.941e-05/0.7203, allocations: 46.23 kB / 0.7322 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.7203, allocations: 11.94 kB / 0.7322 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7203, allocations: 0 / 0.7322 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7203, allocations: 3.984 kB / 0.7322 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.7216, allocations: 0.8851 MB / 0.7331 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7216, allocations: 0 / 0.7331 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.7216, allocations: 11.94 kB / 0.7331 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7216, allocations: 4 kB / 0.7331 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.7217, allocations: 23.95 kB / 0.7331 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7217, allocations: 0 / 0.7331 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7217, allocations: 4 kB / 0.7331 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.7224, allocations: 0.5026 MB / 0.7336 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.7226, allocations: 92.83 kB / 0.7337 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.338e-05/0.7227, allocations: 27.98 kB / 0.7337 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.7228, allocations: 19.98 kB / 0.7338 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.723, allocations: 71.89 kB / 0.7338 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.7231, allocations: 31.97 kB / 0.7339 GB, free: 2.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.7232, allocations: 108.6 kB / 0.734 GB, free: 2.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7232, allocations: 0 / 0.734 GB, free: 2.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003461/0.7236, allocations: 79.92 kB / 0.734 GB, free: 2.445 MB / 0.545 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.0003411/0.7239, allocations: 145.8 kB / 0.7342 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007095/0.7246, allocations: 390.8 kB / 0.7345 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7246, allocations: 0 / 0.7345 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.725, allocations: 211.8 kB / 0.7348 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.7253, allocations: 48.52 kB / 0.7348 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.7264, allocations: 0.5043 MB / 0.7353 GB, free: 1.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.7269, allocations: 0.7332 MB / 0.736 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.7271, allocations: 38.97 kB / 0.736 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7272, allocations: 51.39 kB / 0.7361 GB, free: 292 kB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.7272, allocations: 0 / 0.7361 GB, free: 292 kB / 0.545 GB Notification: Performance of Templates: time 0.008729/0.736, allocations: 4.034 MB / 0.74 GB, free: 12.27 MB / 0.5606 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)