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.001171/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001518/0.001518, allocations: 195.8 kB / 16.14 MB, free: 6.734 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.172/3.172, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.2 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4127, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002105/0.4148, allocations: 0.7567 MB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4166, allocations: 1.311 MB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.4166, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.4167, allocations: 3.984 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.4168, allocations: 19.86 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.4176, allocations: 288.7 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.4178, allocations: 223.6 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.418, allocations: 24.14 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4181, allocations: 91.8 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4182, allocations: 71.77 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.4183, allocations: 12 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4184, allocations: 27.98 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.4184, allocations: 15.98 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4186, allocations: 75.73 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.4188, allocations: 211.7 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4189, allocations: 0 / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4189, allocations: 4 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4189, allocations: 0 / 1.071 GB, free: 7.801 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.0006757/0.4196, allocations: 484.4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4196, allocations: 8.031 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.4197, allocations: 16.84 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4199, allocations: 176.2 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.4199, allocations: 20.36 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.42, allocations: 12.38 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4201, allocations: 58.17 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4201, allocations: 3.938 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4202, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4202, allocations: 4 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.4202, allocations: 19.98 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.4209, allocations: 412.5 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.405e-05/0.4209, allocations: 38.5 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.421, allocations: 20.94 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.421, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.4212, allocations: 107.2 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.4212, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003346/0.4215, allocations: 141.5 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.4216, allocations: 55.47 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.4217, allocations: 135.8 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.4218, allocations: 37.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.4219, allocations: 92.12 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.4219, allocations: 23.7 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.422, allocations: 73.61 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4222, allocations: 322.8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.4224, allocations: 91.95 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.4226, allocations: 134 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.4229, allocations: 243 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4229, allocations: 0 / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005924/0.4235, allocations: 370.4 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.4236, allocations: 101.1 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4236, allocations: 4.188 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4236, allocations: 4 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.4237, allocations: 7.938 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.4237, allocations: 7.984 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.4242, allocations: 79.84 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4243, allocations: 19.98 kB / 1.074 GB, free: 4.207 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.0001447/0.4244, allocations: 137.8 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.4244, allocations: 7.906 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.4245, allocations: 8.375 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4245, allocations: 4 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4245, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4245, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.4247, allocations: 193.5 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4247, allocations: 0 / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/0.4247, allocations: 12.31 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4247, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4247, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4247, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4247, allocations: 7.938 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.4249, allocations: 140.9 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.425, allocations: 88.95 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.425, allocations: 0 / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.4251, allocations: 11.97 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.4251, allocations: 8 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4251, allocations: 7.984 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.4252, allocations: 101.5 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4252, allocations: 0 / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002579/0.4255, allocations: 40 kB / 1.074 GB, free: 3.359 MB / 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.0001884/0.4257, allocations: 111.2 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.4262, allocations: 366 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4262, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.309e-05/0.4262, allocations: 43.91 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4265, allocations: 25.69 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.427, allocations: 201.1 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4273, allocations: 0.6926 MB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.4273, allocations: 8.438 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4274, allocations: 11.44 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4274, allocations: 0 / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.005455/0.4328, allocations: 2.5 MB / 1.078 GB, free: 15.35 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)