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.364/1.364, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009518/0.0009519, allocations: 176.9 kB / 326.5 MB, free: 2.699 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.842/1.842, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007946/0.0007946, allocations: 88.67 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003994, allocations: 10.34 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001788/0.2486, allocations: 1.21 MB / 0.898 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004749/0.2491, allocations: 213 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.2492, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.2492, allocations: 0 / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.2494, allocations: 23.84 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2496, allocations: 15.98 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.2497, allocations: 71.72 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2498, allocations: 16.27 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.2499, allocations: 19.92 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.2499, allocations: 27.84 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.25, allocations: 4 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.25, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.25, allocations: 15.98 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.2501, allocations: 23.8 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2502, allocations: 59.77 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2502, allocations: 4 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2502, allocations: 0 / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2502, 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.0006383/0.2509, allocations: 399.2 kB / 0.8988 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2509, allocations: 8.031 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.251, allocations: 8.844 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2511, allocations: 180.2 kB / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2511, allocations: 384 / 0.899 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.2511, allocations: 8.359 kB / 0.899 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.2514, allocations: 91.09 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2514, allocations: 192 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2514, allocations: 7.922 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2514, allocations: 0 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.2517, allocations: 95.92 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.2521, allocations: 304.7 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.2523, allocations: 70.48 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2525, allocations: 60.94 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.2525, allocations: 0 / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.2528, allocations: 99.36 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.2528, allocations: 0 / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005407/0.2534, allocations: 189.5 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2534, allocations: 51.41 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.2535, allocations: 121.8 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2535, allocations: 29.7 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.2535, allocations: 92.05 kB / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.2536, allocations: 23.81 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2536, allocations: 13.7 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.2537, allocations: 318.8 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2538, allocations: 47.95 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.254, allocations: 73.66 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.2542, allocations: 109.5 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2543, allocations: 0 / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003177/0.2546, allocations: 145.5 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2546, allocations: 11.88 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2546, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2546, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2548, allocations: 28.02 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2548, allocations: 0 / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2549, allocations: 27.97 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2549, allocations: 4 kB / 0.9009 GB, free: 63.65 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 7.995e-05/0.255, allocations: 113.8 kB / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.255, allocations: 11.91 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.255, allocations: 16.36 kB / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2551, allocations: 0 / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2551, allocations: 0 / 0.9011 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.2551, allocations: 77.11 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2551, allocations: 4 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2552, allocations: 24.28 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.2553, allocations: 15.92 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004146/0.2557, allocations: 244.8 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003598/0.2561, allocations: 310.7 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.2563, allocations: 55.95 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.2563, allocations: 95.7 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of Backend: time 3.51e-07/0.2563, allocations: 7.938 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005185/0.2568, allocations: 140.3 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005128/0.2574, allocations: 0.622 MB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.003221/0.2606, allocations: 1.027 MB / 0.9036 GB, free: 60.82 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)