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.001284/0.001284, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001544/0.001544, allocations: 188.3 kB / 16.25 MB, free: 6.617 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.673/1.673, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.627/1.627, allocations: 251.7 MB / 0.5089 GB, free: 3.277 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.001402/0.001402, allocations: 67.91 kB / 0.6218 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8028, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.003417/0.8063, allocations: 1.493 MB / 0.7255 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004999/0.8068, allocations: 224.2 kB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.8068, allocations: 4 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.8069, allocations: 3.938 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.807, allocations: 23.78 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.8072, allocations: 23.92 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.8074, allocations: 83.77 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.8075, allocations: 12.19 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.8076, allocations: 31.86 kB / 0.7259 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/0.8077, allocations: 31.84 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.8077, allocations: 4 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.8077, allocations: 8 kB / 0.7259 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.8078, allocations: 19.92 kB / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.8079, allocations: 43.78 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.808, allocations: 65.8 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.808, allocations: 0 / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.857e-06/0.808, allocations: 0 / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.808, allocations: 3.938 kB / 0.726 GB, free: 11.02 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.0007295/0.8088, allocations: 403.1 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8088, allocations: 8.031 kB / 0.7264 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.8089, allocations: 12.84 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.8091, allocations: 180.2 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.8091, allocations: 4.375 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.8092, allocations: 4.375 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.8093, allocations: 66.16 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8094, allocations: 3.938 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.8094, allocations: 4 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8094, allocations: 4 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/0.8095, allocations: 27.98 kB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.81, allocations: 312.7 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.8101, allocations: 46.56 kB / 0.7271 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.8102, allocations: 24.84 kB / 0.7271 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.8102, allocations: 4 kB / 0.7271 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.8104, allocations: 87.31 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.542e-06/0.8104, allocations: 0 / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002722/0.8107, allocations: 121.5 kB / 0.7273 GB, free: 9.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.8107, allocations: 55.41 kB / 0.7273 GB, free: 9.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.8109, allocations: 129.8 kB / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.8109, allocations: 25.7 kB / 0.7275 GB, free: 9.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.811, allocations: 92.14 kB / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.811, allocations: 31.78 kB / 0.7276 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.8111, allocations: 33.72 kB / 0.7276 GB, free: 9.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8112, allocations: 322.8 kB / 0.7279 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.8112, allocations: 19.98 kB / 0.728 GB, free: 8.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.8113, allocations: 47.42 kB / 0.728 GB, free: 8.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.799e-05/0.8114, allocations: 67.38 kB / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8114, allocations: 3.938 kB / 0.7281 GB, free: 8.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001489/0.8115, allocations: 105.5 kB / 0.7282 GB, free: 8.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.8116, allocations: 8 kB / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8116, allocations: 0 / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8116, allocations: 0 / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.8117, allocations: 15.94 kB / 0.7282 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.8117, allocations: 480 / 0.7282 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.8118, allocations: 28.06 kB / 0.7282 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.8118, allocations: 0 / 0.7282 GB, free: 8.52 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.0001094/0.8119, allocations: 122.5 kB / 0.7283 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.812, allocations: 7.906 kB / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.812, allocations: 16.31 kB / 0.7284 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.812, allocations: 4 kB / 0.7284 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.812, allocations: 0 / 0.7284 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.812, allocations: 3.984 kB / 0.7284 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.8122, allocations: 189.6 kB / 0.7285 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8122, allocations: 0 / 0.7285 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.8122, allocations: 7.922 kB / 0.7286 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.8123, allocations: 0 / 0.7286 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8123, allocations: 4 kB / 0.7286 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8123, allocations: 0 / 0.7286 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8123, allocations: 0 / 0.7286 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.8124, allocations: 128.9 kB / 0.7287 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.8125, allocations: 88.95 kB / 0.7288 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.8125, allocations: 4 kB / 0.7288 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.8126, allocations: 19.97 kB / 0.7288 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.8127, allocations: 11.98 kB / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.8127, allocations: 11.98 kB / 0.7288 GB, free: 7.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.023e-05/0.8128, allocations: 91.27 kB / 0.7289 GB, free: 7.727 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8128, allocations: 0 / 0.7289 GB, free: 7.727 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002008/0.813, allocations: 20 kB / 0.7289 GB, free: 7.707 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.0001952/0.8132, allocations: 107.2 kB / 0.729 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.8134, allocations: 71.8 kB / 0.7291 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8134, allocations: 3.938 kB / 0.7291 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.8135, allocations: 35.92 kB / 0.7291 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.8138, allocations: 27.66 kB / 0.7292 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.8142, allocations: 206.5 kB / 0.7294 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.8146, allocations: 0.6924 MB / 0.73 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.8146, allocations: 8.562 kB / 0.73 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.8147, allocations: 23.42 kB / 0.7301 GB, free: 6.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.8147, allocations: 0 / 0.7301 GB, free: 6.48 MB / 0.545 GB Notification: Performance of Templates: time 0.004067/0.8188, allocations: 1.146 MB / 0.7312 GB, free: 5.344 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (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)