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.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008768, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000928/0.0009281, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.639/1.639, allocations: 252 MB / 0.5102 GB, free: 4.82 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.0008122/0.0008123, allocations: 20 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6145/0.6153, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001767/0.6171, allocations: 1.256 MB / 0.7294 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.6177, allocations: 232.2 kB / 0.7296 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.6178, allocations: 4 kB / 0.7296 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.6178, allocations: 7.922 kB / 0.7296 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/0.6179, allocations: 15.86 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.6181, allocations: 27.97 kB / 0.7296 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.6182, allocations: 107.6 kB / 0.7298 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.6184, allocations: 37.47 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.6185, allocations: 35.84 kB / 0.7298 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.6185, allocations: 39.78 kB / 0.7299 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.6186, allocations: 4 kB / 0.7299 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.6186, allocations: 4 kB / 0.7299 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.6186, allocations: 15.92 kB / 0.7299 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.6187, allocations: 49.64 kB / 0.7299 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.6188, allocations: 81.77 kB / 0.73 GB, free: 9.473 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6188, allocations: 0 / 0.73 GB, free: 9.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6188, allocations: 0 / 0.73 GB, free: 9.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.6188, allocations: 0 / 0.73 GB, free: 9.473 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006867/0.6195, allocations: 438.9 kB / 0.7304 GB, free: 8.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6196, allocations: 12.03 kB / 0.7304 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.6196, allocations: 11.86 kB / 0.7304 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.6198, allocations: 182.9 kB / 0.7306 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.6198, allocations: 8.188 kB / 0.7306 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.6199, allocations: 8 kB / 0.7306 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.6201, allocations: 97.91 kB / 0.7307 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.6201, allocations: 3.938 kB / 0.7307 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.6201, allocations: 8 kB / 0.7307 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.6201, allocations: 4 kB / 0.7307 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.6203, allocations: 52.53 kB / 0.7308 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.6209, allocations: 397.3 kB / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.6211, allocations: 90.48 kB / 0.7313 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.6212, allocations: 37.08 kB / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.6212, allocations: 4 kB / 0.7313 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.6214, allocations: 95.3 kB / 0.7314 GB, free: 7.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.6214, allocations: 0 / 0.7314 GB, free: 7.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003375/0.6218, allocations: 156.2 kB / 0.7315 GB, free: 7.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6218, allocations: 55.41 kB / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.6221, allocations: 158.9 kB / 0.7317 GB, free: 7.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.6221, allocations: 29.7 kB / 0.7318 GB, free: 7.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.6222, allocations: 103.8 kB / 0.7319 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.6222, allocations: 39.53 kB / 0.7319 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.6222, allocations: 0 / 0.7319 GB, free: 7.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6224, allocations: 326.8 kB / 0.7322 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.6224, allocations: 27.98 kB / 0.7322 GB, free: 6.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.6225, allocations: 61.23 kB / 0.7323 GB, free: 6.895 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.6226, allocations: 28 kB / 0.7323 GB, free: 6.867 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6226, allocations: 0 / 0.7323 GB, free: 6.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000186/0.6228, allocations: 133.4 kB / 0.7325 GB, free: 6.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6228, allocations: 8.094 kB / 0.7325 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6228, allocations: 0 / 0.7325 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6229, allocations: 7.938 kB / 0.7325 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.623, allocations: 15.98 kB / 0.7325 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.623, allocations: 3.984 kB / 0.7325 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.6231, allocations: 27.92 kB / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6231, allocations: 4 kB / 0.7325 GB, free: 6.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001203/0.6232, allocations: 129.8 kB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.6233, allocations: 15.77 kB / 0.7327 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.6233, allocations: 20.83 kB / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6233, allocations: 4 kB / 0.7327 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6233, allocations: 0 / 0.7327 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.6233, allocations: 0 / 0.7327 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.6236, allocations: 213.6 kB / 0.7329 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6236, allocations: 0 / 0.7329 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.6236, allocations: 8 kB / 0.7329 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.6236, allocations: 11.95 kB / 0.7329 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6237, allocations: 4 kB / 0.7329 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6237, allocations: 3.984 kB / 0.7329 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.6237, allocations: 0 / 0.7329 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.6239, allocations: 147.2 kB / 0.7331 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.6239, allocations: 88.95 kB / 0.7331 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.624, allocations: 7.953 kB / 0.7332 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.6241, allocations: 31.91 kB / 0.7332 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.6242, allocations: 15.97 kB / 0.7332 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.6242, allocations: 4 kB / 0.7332 GB, free: 5.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.988e-05/0.6243, allocations: 117.6 kB / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6243, allocations: 0 / 0.7333 GB, free: 5.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002138/0.6245, allocations: 27.98 kB / 0.7333 GB, free: 5.738 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001929/0.6247, allocations: 107.5 kB / 0.7334 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.6249, allocations: 87.91 kB / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.625, allocations: 0 / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.625, allocations: 51.86 kB / 0.7336 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6253, allocations: 23.98 kB / 0.7336 GB, free: 5.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.6258, allocations: 261.4 kB / 0.7338 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6261, allocations: 0.7164 MB / 0.7345 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.6262, allocations: 9.094 kB / 0.7346 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.6262, allocations: 15.44 kB / 0.7346 GB, free: 4.422 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6262, allocations: 0 / 0.7346 GB, free: 4.422 MB / 0.545 GB Notification: Performance of Templates: time 0.003777/0.63, allocations: 1.205 MB / 0.7357 GB, free: 3.227 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1) Environment - environmentSimulation: