Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 196.9 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 107.2 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 57.56 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3158, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001887/0.3177, allocations: 0.7453 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3192, allocations: 1.308 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.3192, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.3193, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3194, allocations: 15.8 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.3201, allocations: 296.3 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.3203, allocations: 219.6 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.3204, allocations: 16.17 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.3205, allocations: 95.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.3206, allocations: 75.77 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.3206, allocations: 12 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.3207, allocations: 23.98 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.3207, allocations: 15.92 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.225e-05/0.3208, allocations: 75.8 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.321, allocations: 205.6 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.321, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.321, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.321, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 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.0004828/0.3215, allocations: 0.4925 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3216, allocations: 11.98 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.3216, allocations: 16.84 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.3217, allocations: 176.2 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.3218, allocations: 12.3 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.3218, allocations: 20.38 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3219, allocations: 50.23 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.322, allocations: 3.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.322, allocations: 4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.322, allocations: 4 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.322, allocations: 19.98 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.3225, allocations: 416.5 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.3226, allocations: 30.52 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.3226, allocations: 20.94 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3226, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.3228, allocations: 107.3 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3228, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002554/0.323, allocations: 141.7 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3231, allocations: 51.41 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.3232, allocations: 140.1 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3232, allocations: 37.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.3232, allocations: 96.19 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.3233, allocations: 23.72 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3234, allocations: 69.67 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.3234, allocations: 322.8 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3236, allocations: 87.95 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3238, allocations: 135.1 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.324, allocations: 239 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.324, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004566/0.3245, allocations: 382.4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.3245, allocations: 97.72 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3245, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3245, allocations: 0 / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.379e-05/0.3246, allocations: 11.92 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3246, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.3251, allocations: 87.94 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.3251, allocations: 15.98 kB / 1.224 GB, free: 110.5 MB / 0.823 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 8.122e-05/0.3252, allocations: 134.4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.3252, allocations: 7.906 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.3252, allocations: 8.375 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3252, allocations: 8 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3253, allocations: 4 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3253, allocations: 0 / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3254, allocations: 193.5 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3254, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.3254, allocations: 4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3254, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.3254, allocations: 7.984 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3254, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3254, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.3257, allocations: 0.7137 MB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.3258, allocations: 88.95 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.3258, allocations: 7.938 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.3258, allocations: 11.92 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.3259, allocations: 4 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3259, allocations: 11.98 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.3259, allocations: 91.27 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3259, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000326/0.3263, allocations: 44 kB / 1.226 GB, free: 109.1 MB / 0.823 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.000148/0.3264, allocations: 107.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003514/0.3268, allocations: 362 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3268, allocations: 0 / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.3268, allocations: 39.98 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3271, allocations: 25.75 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.3275, allocations: 350.6 kB / 1.226 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3276, allocations: 0.6926 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.3277, allocations: 12.42 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.3277, allocations: 11.44 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of SimCode: time 3e-07/0.3277, allocations: 0 / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of Templates: time 0.004345/0.332, allocations: 2.593 MB / 1.23 GB, free: 104.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)