Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001067/0.001067, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008514/0.008514, allocations: 170.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004272, allocations: 7.719 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3928, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001128/0.394, allocations: 431.7 kB / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3958, allocations: 1.287 MB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.3959, allocations: 0 / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.3959, allocations: 7.922 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.396, allocations: 23.8 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.3969, allocations: 289.6 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.3972, allocations: 227.6 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3974, allocations: 16.17 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3975, allocations: 87.86 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3977, allocations: 71.77 kB / 1.077 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.3978, allocations: 15.94 kB / 1.077 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3979, allocations: 23.92 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.3979, allocations: 15.92 kB / 1.077 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.3981, allocations: 97.5 kB / 1.077 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.3984, allocations: 215.7 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3985, allocations: 0 / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3985, allocations: 0 / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3985, allocations: 0 / 1.077 GB, free: 4.762 MB / 0.8262 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.0007093/0.3992, allocations: 456.4 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.3993, allocations: 8.031 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.3993, allocations: 16.84 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3995, allocations: 172.3 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.3996, allocations: 4.375 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3996, allocations: 24.38 kB / 1.078 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3998, allocations: 58.16 kB / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3998, allocations: 3.938 kB / 1.078 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3999, allocations: 4 kB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3999, allocations: 0 / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.288e-05/0.3999, allocations: 19.98 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.4007, allocations: 416.4 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.4007, allocations: 38.5 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.4008, allocations: 16.86 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.4008, allocations: 0 / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.401, allocations: 103.3 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.401, allocations: 0 / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003599/0.4014, allocations: 141.5 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4015, allocations: 59.41 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4016, allocations: 125.8 kB / 1.078 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.4017, allocations: 42.02 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4018, allocations: 100.1 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4018, allocations: 15.81 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.4019, allocations: 33.7 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.402, allocations: 330.7 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.4023, allocations: 83.95 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4025, allocations: 138 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.4028, allocations: 235 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.4028, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006599/0.4035, allocations: 378.4 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.4037, allocations: 101.1 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4037, allocations: 3.984 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.4037, allocations: 4 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.554e-05/0.4038, allocations: 12.19 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4038, allocations: 3.938 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.4044, allocations: 125.8 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.4045, allocations: 15.98 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001641/0.4046, allocations: 133.8 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.4047, allocations: 7.906 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.4047, allocations: 12.38 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4047, allocations: 0 / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4047, allocations: 0 / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4048, allocations: 3.984 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.405, allocations: 189.6 kB / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.405, allocations: 0 / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.405, allocations: 0 / 1.08 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.405, allocations: 3.938 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.405, allocations: 7.984 kB / 1.08 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.405, allocations: 4 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.405, allocations: 0 / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.4053, allocations: 144.9 kB / 1.08 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.4054, allocations: 88.94 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.4054, allocations: 4 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.4054, allocations: 0 / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.4055, allocations: 11.98 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.4055, allocations: 8 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001099/0.4056, allocations: 99.27 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4056, allocations: 0 / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002736/0.4059, allocations: 36.09 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002303/0.4061, allocations: 112.7 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.4067, allocations: 369.9 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4067, allocations: 384 / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.4068, allocations: 39.98 kB / 1.081 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.4071, allocations: 21.67 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.4077, allocations: 215.3 kB / 1.081 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.4083, allocations: 0.6926 MB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.4084, allocations: 12.42 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.4084, allocations: 11.44 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of SimCode: time 8.31e-07/0.4084, allocations: 0 / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.006189/0.4146, allocations: 2.489 MB / 1.085 GB, free: 12.36 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)