Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.912/1.912, allocations: 287.4 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.00107, allocations: 169.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007867/0.0007869, allocations: 93.11 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005878/0.0005879, allocations: 13.84 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3163, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001025/0.3173, allocations: 486.3 kB / 0.9798 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3187, allocations: 1.11 MB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3188, allocations: 4 kB / 0.9808 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.3188, allocations: 0 / 0.9808 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.3189, allocations: 11.88 kB / 0.9809 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3194, allocations: 110.6 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3195, allocations: 111.7 kB / 0.9811 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3196, allocations: 11.98 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.3197, allocations: 47.84 kB / 0.9811 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.3198, allocations: 43.88 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3198, allocations: 4 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.3199, allocations: 19.98 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.32, allocations: 11.92 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.32, allocations: 33.7 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3201, allocations: 76.09 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3202, allocations: 3.938 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3202, allocations: 0 / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3202, allocations: 0 / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005717/0.3207, allocations: 430.7 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.3208, allocations: 8.031 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.3209, allocations: 12.84 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.841e-05/0.321, allocations: 176.3 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.321, allocations: 4.375 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.321, allocations: 8.375 kB / 0.9819 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3213, allocations: 98.12 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3213, allocations: 192 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3213, allocations: 3.938 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3213, allocations: 0 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.3216, allocations: 99.86 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.3221, allocations: 328.7 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3222, allocations: 62.53 kB / 0.9825 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3224, allocations: 56.91 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.3224, allocations: 4 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.3227, allocations: 103.3 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3227, allocations: 0 / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000559/0.3233, allocations: 201.5 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.3233, allocations: 51.41 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.628e-05/0.3234, allocations: 123.2 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3234, allocations: 25.7 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.3235, allocations: 100.1 kB / 0.9831 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.3235, allocations: 19.75 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.3235, allocations: 0 / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.3236, allocations: 322.8 kB / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3238, allocations: 67.95 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.324, allocations: 102.4 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.3243, allocations: 164.1 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3243, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004613/0.3248, allocations: 231.2 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3249, allocations: 37.69 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3249, allocations: 4 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3249, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.325, allocations: 27.98 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3251, allocations: 0 / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.3253, allocations: 59.94 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.3253, allocations: 15.94 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.196e-05/0.3254, allocations: 121.8 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.3254, allocations: 7.906 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.3255, allocations: 8.359 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3255, allocations: 0 / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3255, allocations: 4 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3255, allocations: 85.05 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3256, allocations: 4 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.3257, allocations: 16.3 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.3257, allocations: 11.92 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004448/0.3262, allocations: 244.8 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003655/0.3265, allocations: 314.7 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001546/0.3267, allocations: 55.95 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.3267, allocations: 96.39 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of Backend: time 8.72e-07/0.3267, allocations: 4 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006478/0.3274, allocations: 242.5 kB / 0.9853 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004938/0.3279, allocations: 0.621 MB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.004004/0.3319, allocations: 1.5 MB / 0.9874 GB, free: 19.52 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)