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.0101/0.0101, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001604/0.001604, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.82/1.82, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.65/1.65, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001524/0.001524, allocations: 74.25 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2856, allocations: 104.7 MB / 0.8281 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00301/0.2886, allocations: 1.493 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.2894, allocations: 364 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2895, allocations: 4 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.2896, allocations: 11.81 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2897, allocations: 23.78 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.29, allocations: 115.8 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2903, allocations: 251.6 kB / 0.8303 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2905, allocations: 49.11 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2906, allocations: 123.6 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2907, allocations: 95.67 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.2908, allocations: 24 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.2908, allocations: 24 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.2909, allocations: 83.77 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.291, allocations: 95.66 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.2913, allocations: 263.1 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2913, allocations: 4 kB / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2913, allocations: 0 / 0.831 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.2914, allocations: 0 / 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.0008348/0.2922, allocations: 498.8 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2923, allocations: 12.03 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.2923, allocations: 20.75 kB / 0.8315 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2927, allocations: 259.9 kB / 0.8317 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2928, allocations: 24.3 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.2928, allocations: 24.38 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.2932, allocations: 222.6 kB / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2932, allocations: 192 / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.2933, allocations: 19.91 kB / 0.832 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.2933, allocations: 11.92 kB / 0.832 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.2935, allocations: 87.94 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.2944, allocations: 0.5197 MB / 0.8326 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.2951, allocations: 262.6 kB / 0.8329 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.2953, allocations: 108.8 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2953, allocations: 4 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008005/0.2961, allocations: 0.54 MB / 0.8335 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.2961, allocations: 0 / 0.8335 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.0009363/0.2971, allocations: 0.5008 MB / 0.834 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.2971, allocations: 59.41 kB / 0.8341 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2973, allocations: 160.7 kB / 0.8342 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.2973, allocations: 65.62 kB / 0.8343 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.2974, allocations: 116.9 kB / 0.8344 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.2975, allocations: 102.9 kB / 0.8345 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2977, allocations: 102.1 kB / 0.8346 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2978, allocations: 334.8 kB / 0.8349 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.2981, allocations: 137.1 kB / 0.835 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.2984, allocations: 251.5 kB / 0.8353 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.2987, allocations: 255.6 kB / 0.8355 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2987, allocations: 0 / 0.8355 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005827/0.2993, allocations: 414.6 kB / 0.8359 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2993, allocations: 4 kB / 0.8359 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2994, allocations: 4 kB / 0.8359 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.2994, allocations: 7.938 kB / 0.8359 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.2995, allocations: 31.86 kB / 0.836 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.2995, allocations: 7.984 kB / 0.836 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2997, allocations: 35.75 kB / 0.836 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.2997, allocations: 24.27 kB / 0.836 GB, free: 7.75 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.0001669/0.2999, allocations: 169.8 kB / 0.8362 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.2999, allocations: 23.8 kB / 0.8362 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.3, allocations: 38.31 kB / 0.8362 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3001, allocations: 7.938 kB / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3001, allocations: 0 / 0.8362 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3001, allocations: 7.984 kB / 0.8363 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.3014, allocations: 0.8857 MB / 0.8371 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3014, allocations: 0 / 0.8371 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.3015, allocations: 7.938 kB / 0.8371 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3015, allocations: 4 kB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.3015, allocations: 19.97 kB / 0.8371 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3015, allocations: 3.938 kB / 0.8372 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3015, allocations: 4 kB / 0.8372 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.3022, allocations: 0.4961 MB / 0.8376 GB, free: 6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.3023, allocations: 96.83 kB / 0.8377 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.3024, allocations: 27.98 kB / 0.8378 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3026, allocations: 19.97 kB / 0.8378 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.3028, allocations: 75.83 kB / 0.8379 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.3028, allocations: 31.97 kB / 0.8379 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.693e-05/0.3029, allocations: 106.1 kB / 0.838 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3029, allocations: 4 kB / 0.838 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003588/0.3033, allocations: 75.98 kB / 0.8381 GB, free: 5.555 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.0002525/0.3036, allocations: 145.8 kB / 0.8382 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006837/0.3042, allocations: 375.9 kB / 0.8386 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3043, allocations: 4.188 kB / 0.8386 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.3046, allocations: 223.4 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.0004336/0.305, allocations: 39.89 kB / 0.8388 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3063, allocations: 468.7 kB / 0.8393 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3068, allocations: 0.7332 MB / 0.84 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.3069, allocations: 38.95 kB / 0.84 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.3071, allocations: 51.41 kB / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.3071, allocations: 0 / 0.8401 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of Templates: time 0.008804/0.3159, allocations: 3.679 MB / 0.8437 GB, free: 15.79 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)