Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.415/2.415, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002197/0.002197, allocations: 175.6 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.507/2.507, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009276/0.0009273, allocations: 87.17 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004842, allocations: 11.84 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 106.3 MB / 0.8995 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001788/0.2227, allocations: 1.19 MB / 0.9007 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005085/0.2233, allocations: 209.5 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.2233, allocations: 8 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.2234, allocations: 7.922 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.326e-05/0.2235, allocations: 7.875 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.2236, allocations: 15.98 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2238, allocations: 63.77 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2239, allocations: 11.98 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.224, allocations: 27.86 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.224, allocations: 31.91 kB / 0.901 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.2241, allocations: 0 / 0.901 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.2241, allocations: 4 kB / 0.901 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.2241, allocations: 15.92 kB / 0.9011 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.2242, allocations: 29.7 kB / 0.9011 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.518e-05/0.2243, allocations: 43.89 kB / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2243, allocations: 0 / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2243, allocations: 0 / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2243, allocations: 0 / 0.9011 GB, free: 63.79 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007135/0.225, allocations: 395.5 kB / 0.9015 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2251, allocations: 12.03 kB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2251, allocations: 8.781 kB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2253, allocations: 176.3 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.2253, allocations: 4.375 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2253, allocations: 8.375 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2257, allocations: 86.2 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2257, allocations: 192 / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2257, allocations: 3.938 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2258, allocations: 4 kB / 0.9018 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.2263, allocations: 99.92 kB / 0.9019 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.2268, allocations: 300.6 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.2271, allocations: 66.55 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.2274, allocations: 60.88 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2274, allocations: 0 / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.2278, allocations: 103.3 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.2279, allocations: 0 / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009388/0.2288, allocations: 189.5 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2288, allocations: 55.41 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.229, allocations: 121.8 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.229, allocations: 33.7 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.229, allocations: 88.08 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.2291, allocations: 19.8 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-06/0.2291, allocations: 0 / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.2292, allocations: 318.8 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2294, allocations: 47.95 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2297, allocations: 69.61 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.23, allocations: 55.91 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.23, allocations: 0 / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005866/0.2306, allocations: 133.6 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2307, allocations: 8 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2307, allocations: 0 / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2307, allocations: 0 / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2309, allocations: 27.91 kB / 0.9035 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2309, allocations: 4 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2311, allocations: 27.98 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2312, allocations: 0 / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.799e-05/0.2313, allocations: 121.8 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.2313, allocations: 11.89 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.2313, allocations: 8.375 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2314, allocations: 0 / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2314, allocations: 8 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.2314, allocations: 84.95 kB / 0.9038 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2314, allocations: 3.984 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.2316, allocations: 19.98 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.2317, allocations: 16.23 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007592/0.2325, allocations: 248.8 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006246/0.2331, allocations: 306.8 kB / 0.9043 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002835/0.2334, allocations: 55.97 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.2335, allocations: 99.2 kB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.2335, allocations: 0 / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006706/0.2342, allocations: 144.3 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005745/0.2348, allocations: 0.6169 MB / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of Templates: time 0.00401/0.2388, allocations: 0.9998 MB / 0.9062 GB, free: 58.27 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)