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.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009421/0.0009422, allocations: 185 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205 MB / 0.5766 GB, free: 21.01 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.000877/0.0008771, allocations: 96.42 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 16.27 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00169/0.2383, allocations: 1.218 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004402/0.2387, allocations: 217 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.2388, allocations: 4 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.2389, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.239, allocations: 15.86 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.2391, allocations: 15.97 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2393, allocations: 71.72 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2394, allocations: 12.28 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.2395, allocations: 23.92 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.2396, allocations: 31.84 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2396, allocations: 4 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.2396, allocations: 4 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.2397, allocations: 7.984 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2398, allocations: 35.72 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.279e-05/0.2399, allocations: 47.83 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.666e-05/0.2399, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.406e-06/0.2399, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2399, allocations: 0 / 0.8984 GB, free: 66.46 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.0006456/0.2406, allocations: 391.3 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2406, allocations: 12.03 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.2407, allocations: 12.84 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2408, allocations: 184.2 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2409, allocations: 384 / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.2409, allocations: 4.375 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2411, allocations: 91.08 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2412, allocations: 192 / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2412, allocations: 7.938 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2412, allocations: 0 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.2415, allocations: 95.92 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.2419, allocations: 300.6 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.2421, allocations: 70.55 kB / 0.8995 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2423, allocations: 52.94 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.2423, allocations: 8 kB / 0.8996 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.2426, allocations: 95.36 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.2426, allocations: 0 / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005586/0.2432, allocations: 189.5 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.2432, allocations: 51.41 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.2433, allocations: 125.8 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2433, allocations: 29.7 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.2434, allocations: 92.05 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2434, allocations: 15.73 kB / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.2434, allocations: 21.72 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.2435, allocations: 322.8 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2436, allocations: 43.95 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2438, allocations: 65.67 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.2441, allocations: 109.6 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2441, allocations: 3.984 kB / 0.9007 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000322/0.2445, allocations: 137.5 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2445, allocations: 11.94 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2445, allocations: 4.031 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2445, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.2447, allocations: 19.98 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2447, allocations: 4 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2448, allocations: 32.28 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2448, allocations: 0 / 0.9009 GB, free: 63.68 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.pulseStart,$PRE.booPul.pulseStart,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): 7 * 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 6.564e-05/0.2449, allocations: 121.7 kB / 0.901 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.2449, allocations: 7.906 kB / 0.901 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.2449, allocations: 16.36 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2449, allocations: 4 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.245, allocations: 0 / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.245, allocations: 0 / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.2451, allocations: 185.6 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2451, allocations: 0 / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.873e-05/0.2452, allocations: 27.97 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2452, allocations: 3.938 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2452, allocations: 0 / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2452, allocations: 0 / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2452, allocations: 4 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.2456, allocations: 168.9 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.2456, allocations: 85.05 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2456, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2457, allocations: 27.97 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.2458, allocations: 11.92 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.2458, allocations: 4 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.2458, allocations: 91.7 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2458, allocations: 4 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001778/0.246, allocations: 16 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001113/0.2461, allocations: 99.19 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.2465, allocations: 111.9 kB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2465, allocations: 0 / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.2467, allocations: 59.95 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2469, allocations: 30.02 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.2472, allocations: 201.3 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2474, allocations: 0.6887 MB / 0.9028 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.2474, allocations: 11.44 kB / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.2474, allocations: 0 / 0.9028 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of Templates: time 0.002439/0.2499, allocations: 1.034 MB / 0.9038 GB, free: 60.53 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)