Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001681/0.001681, allocations: 171.9 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.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.0006354/0.0006352, allocations: 26.98 kB / 0.6743 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.34, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001335/0.3414, allocations: 0.494 MB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.3434, allocations: 1.142 MB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.3435, allocations: 0 / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.3436, allocations: 3.938 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.3437, allocations: 15.92 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.3443, allocations: 123.8 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.3445, allocations: 115.7 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3447, allocations: 12 kB / 0.7897 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3449, allocations: 47.83 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.345, allocations: 39.88 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.345, allocations: 8 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.3451, allocations: 16 kB / 0.7899 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.3452, allocations: 15.92 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.518e-05/0.3453, allocations: 65.53 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3455, allocations: 115.9 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3455, allocations: 0 / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3455, allocations: 0 / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3455, allocations: 0 / 0.79 GB, free: 9.348 MB / 0.6075 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.0008944/0.3464, allocations: 421 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.128e-05/0.3465, allocations: 8.031 kB / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.3466, allocations: 8.844 kB / 0.7905 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3468, allocations: 176.2 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.3468, allocations: 4.375 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3469, allocations: 12.38 kB / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.3472, allocations: 86.2 kB / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3472, allocations: 192 / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3472, allocations: 11.92 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3473, allocations: 0 / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.3476, allocations: 87.92 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.3482, allocations: 336.7 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3484, allocations: 70.47 kB / 0.7912 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3486, allocations: 56.92 kB / 0.7913 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3486, allocations: 3.984 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.349, allocations: 111.3 kB / 0.7914 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.349, allocations: 0 / 0.7914 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007041/0.3497, allocations: 197.4 kB / 0.7916 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.3498, allocations: 55.41 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.35, allocations: 122.1 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.35, allocations: 33.7 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.3501, allocations: 92.05 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3501, allocations: 23.73 kB / 0.7919 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.3502, allocations: 13.72 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3504, allocations: 326.8 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.3506, allocations: 67.95 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3508, allocations: 90.52 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.3513, allocations: 168.1 kB / 0.7925 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3513, allocations: 4 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005777/0.3519, allocations: 239.2 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.3519, allocations: 33.69 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3519, allocations: 4 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3519, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3521, allocations: 23.98 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3521, allocations: 3.938 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.3524, allocations: 55.94 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.3524, allocations: 12 kB / 0.7929 GB, free: 6.18 MB / 0.6075 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,booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.3526, allocations: 117.8 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.3526, allocations: 7.906 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.3526, allocations: 12.36 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3526, allocations: 4 kB / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.3527, allocations: 0 / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3527, allocations: 0 / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3529, allocations: 181.6 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3529, allocations: 0 / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.353, allocations: 27.97 kB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.353, allocations: 0 / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.353, allocations: 0 / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.353, allocations: 3.938 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.353, allocations: 4 kB / 0.7932 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.3535, allocations: 172.8 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3535, allocations: 81.11 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3536, allocations: 8 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.3537, allocations: 16.08 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.3537, allocations: 12.3 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3537, allocations: 0 / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.481e-05/0.3538, allocations: 103.3 kB / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3538, allocations: 0 / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002264/0.354, allocations: 23.91 kB / 0.7936 GB, free: 5.324 MB / 0.6075 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,$whenCondition2,booPul.y) * 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.0001907/0.3542, allocations: 115.2 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005451/0.3548, allocations: 207.2 kB / 0.7939 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3548, allocations: 0 / 0.7939 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.355, allocations: 60.08 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3553, allocations: 19.92 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3557, allocations: 186.6 kB / 0.7942 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3561, allocations: 0.6888 MB / 0.7948 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.3561, allocations: 7.984 kB / 0.7949 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3562, allocations: 7.438 kB / 0.7949 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3562, allocations: 0 / 0.7949 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.004572/0.3607, allocations: 1.397 MB / 0.7962 GB, free: 2.59 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) Environment - environmentSimulation: