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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.01213/0.01213, allocations: 171 kB / 16.26 MB, free: 6.613 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.747/1.747, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.642/1.642, allocations: 252 MB / 0.5105 GB, free: 4.73 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.0006026/0.0006031, allocations: 20 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.6634, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001936/0.6654, allocations: 1.155 MB / 0.7299 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005417/0.666, allocations: 216.3 kB / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.6661, allocations: 0 / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.6661, allocations: 7.922 kB / 0.7301 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.6662, allocations: 15.92 kB / 0.7301 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.6665, allocations: 19.92 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.6666, allocations: 83.7 kB / 0.7302 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.6668, allocations: 12.19 kB / 0.7302 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.6669, allocations: 31.91 kB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.667, allocations: 31.78 kB / 0.7303 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.6671, allocations: 4 kB / 0.7303 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.6671, allocations: 0 / 0.7303 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.6671, allocations: 15.92 kB / 0.7303 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.6672, allocations: 53.56 kB / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.6674, allocations: 65.72 kB / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6674, allocations: 0 / 0.7304 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6674, allocations: 4 kB / 0.7304 GB, free: 9.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.6674, allocations: 3.938 kB / 0.7304 GB, free: 9.551 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008369/0.6683, allocations: 403.2 kB / 0.7308 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.6683, allocations: 8.031 kB / 0.7308 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.6684, allocations: 8.844 kB / 0.7308 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.6686, allocations: 184.2 kB / 0.731 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.6686, allocations: 8.375 kB / 0.731 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.6687, allocations: 4.375 kB / 0.731 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6689, allocations: 66.17 kB / 0.7311 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6689, allocations: 3.938 kB / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.6689, allocations: 0 / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.6689, allocations: 4 kB / 0.7311 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.669, allocations: 27.98 kB / 0.7311 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.6696, allocations: 312.6 kB / 0.7314 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.6698, allocations: 50.56 kB / 0.7314 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.6698, allocations: 20.84 kB / 0.7315 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.6698, allocations: 8.141 kB / 0.7315 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.6701, allocations: 87.39 kB / 0.7316 GB, free: 8.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.6701, allocations: 4 kB / 0.7316 GB, free: 8.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003235/0.6704, allocations: 113.5 kB / 0.7317 GB, free: 8.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.6705, allocations: 55.41 kB / 0.7317 GB, free: 8.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.6706, allocations: 125.8 kB / 0.7318 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.6707, allocations: 33.7 kB / 0.7319 GB, free: 7.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.6707, allocations: 88.42 kB / 0.732 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.6708, allocations: 23.73 kB / 0.732 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.6708, allocations: 17.72 kB / 0.732 GB, free: 7.719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.671, allocations: 330.8 kB / 0.7323 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.6711, allocations: 27.92 kB / 0.7323 GB, free: 7.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.832e-05/0.6712, allocations: 51.05 kB / 0.7324 GB, free: 7.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.6713, allocations: 63.38 kB / 0.7324 GB, free: 7.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6713, allocations: 4 kB / 0.7325 GB, free: 7.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001755/0.6715, allocations: 101.5 kB / 0.7325 GB, free: 7.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.6715, allocations: 7.984 kB / 0.7326 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6715, allocations: 4 kB / 0.7326 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6715, allocations: 4 kB / 0.7326 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.6716, allocations: 11.94 kB / 0.7326 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6716, allocations: 0 / 0.7326 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.6718, allocations: 35.91 kB / 0.7326 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.6718, allocations: 4 kB / 0.7326 GB, free: 7.051 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,logicalSwitch.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001165/0.6719, allocations: 122.5 kB / 0.7327 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.6719, allocations: 4 kB / 0.7327 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.672, allocations: 12.38 kB / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.672, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.672, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.672, allocations: 0 / 0.7327 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.6722, allocations: 205.5 kB / 0.7329 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6722, allocations: 0 / 0.7329 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.6722, allocations: 7.938 kB / 0.7329 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.6723, allocations: 3.984 kB / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6723, allocations: 0 / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6723, allocations: 0 / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6723, allocations: 0 / 0.733 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.6725, allocations: 132.9 kB / 0.7331 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.6726, allocations: 92.95 kB / 0.7332 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.6726, allocations: 4 kB / 0.7332 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6727, allocations: 19.97 kB / 0.7332 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6728, allocations: 15.98 kB / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.6728, allocations: 0 / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.6729, allocations: 99.27 kB / 0.7333 GB, free: 6.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6729, allocations: 0 / 0.7333 GB, free: 6.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002095/0.6731, allocations: 20 kB / 0.7333 GB, free: 6.23 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001976/0.6733, allocations: 107.2 kB / 0.7334 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.6735, allocations: 63.8 kB / 0.7335 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6735, allocations: 0 / 0.7335 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.6735, allocations: 35.98 kB / 0.7335 GB, free: 6.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.6738, allocations: 24.73 kB / 0.7335 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.6743, allocations: 207 kB / 0.7337 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.6746, allocations: 0.6926 MB / 0.7344 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.6746, allocations: 12.55 kB / 0.7344 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.6746, allocations: 11.44 kB / 0.7344 GB, free: 5.02 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6747, allocations: 0 / 0.7344 GB, free: 5.02 MB / 0.545 GB Notification: Performance of Templates: time 0.003755/0.6784, allocations: 1.085 MB / 0.7355 GB, free: 3.949 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1) Environment - environmentSimulation: