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.007898/0.007899, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.00159/0.00159, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.822/1.822, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.676/1.676, allocations: 251.7 MB / 0.5094 GB, free: 3.035 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.002154/0.002154, allocations: 79.91 kB / 0.7258 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2682, allocations: 104.7 MB / 0.8281 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.003349/0.2716, allocations: 1.429 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.2722, allocations: 224.5 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.2723, allocations: 0 / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.2724, allocations: 7.922 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2726, allocations: 31.78 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2727, allocations: 19.98 kB / 0.8297 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.2729, allocations: 87.64 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.273, allocations: 16.17 kB / 0.8298 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.2731, allocations: 27.92 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.2732, allocations: 31.84 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.2733, allocations: 8 kB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.2733, allocations: 4 kB / 0.8299 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.2733, allocations: 23.92 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.2734, allocations: 31.86 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2735, allocations: 83.62 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2735, allocations: 7.875 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2736, allocations: 0 / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2736, allocations: 0 / 0.83 GB, free: 14.09 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007245/0.2743, allocations: 399.1 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2744, allocations: 16.03 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.2744, allocations: 8.844 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2746, allocations: 172.3 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2746, allocations: 8.375 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2746, allocations: 4.375 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2748, allocations: 62.17 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2748, allocations: 3.938 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2748, allocations: 4 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2748, allocations: 0 / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.2749, allocations: 31.98 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.2754, allocations: 316.7 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.728e-05/0.2755, allocations: 42.56 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.2756, allocations: 28.84 kB / 0.8311 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.2756, allocations: 0 / 0.8311 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.2758, allocations: 99.31 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.2758, allocations: 0 / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002722/0.2761, allocations: 105.6 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2762, allocations: 55.41 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2763, allocations: 134.1 kB / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2763, allocations: 25.7 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.2764, allocations: 92.14 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2764, allocations: 23.84 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.2765, allocations: 37.66 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2766, allocations: 322.8 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.2767, allocations: 19.98 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.2767, allocations: 55.36 kB / 0.832 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.2768, allocations: 67.38 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2768, allocations: 0 / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001705/0.277, allocations: 105.5 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.277, allocations: 4 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.277, allocations: 0 / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2771, allocations: 4 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.2771, allocations: 4 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2771, allocations: 7.938 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.2773, allocations: 28 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2773, allocations: 4 kB / 0.8322 GB, free: 11.6 MB / 0.6544 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 8.791e-05/0.2774, allocations: 121.8 kB / 0.8323 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.2774, allocations: 7.906 kB / 0.8324 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2774, allocations: 16.38 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2775, allocations: 0 / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2775, allocations: 0 / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2775, allocations: 3.984 kB / 0.8324 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2776, allocations: 189.6 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.2777, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.2777, allocations: 7.984 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2777, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2777, allocations: 3.938 kB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.2777, allocations: 0 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2777, allocations: 96 / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.2779, allocations: 132.8 kB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.278, allocations: 81.02 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.278, allocations: 8 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.2781, allocations: 19.97 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.2781, allocations: 11.98 kB / 0.8328 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.2782, allocations: 4 kB / 0.8328 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.2782, allocations: 95.27 kB / 0.8329 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2782, allocations: 0 / 0.8329 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002097/0.2784, allocations: 20 kB / 0.8329 GB, free: 10.8 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: 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.0001447/0.2786, allocations: 113.5 kB / 0.833 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2788, allocations: 67.86 kB / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2788, allocations: 0 / 0.8331 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.2788, allocations: 35.92 kB / 0.8331 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.2791, allocations: 23.98 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.2795, allocations: 191.1 kB / 0.8333 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2798, allocations: 0.7 MB / 0.834 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.2799, allocations: 4.562 kB / 0.834 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.2799, allocations: 19.38 kB / 0.834 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2799, allocations: 0 / 0.834 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.004092/0.284, allocations: 1.273 MB / 0.8353 GB, free: 8.336 MB / 0.6544 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)