Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.423/2.423, allocations: 391.2 MB / 407 MB, free: 10.86 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.001692/0.001691, allocations: 193.3 kB / 499.1 MB, free: 4.629 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.456/1.456, allocations: 222.9 MB / 0.7948 GB, free: 15.81 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.001434/0.001434, allocations: 110.6 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 51.95 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3237, 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.Or): time 0.001931/0.3257, allocations: 0.7141 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3271, allocations: 1.215 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.3272, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.3272, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.3273, allocations: 11.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.3279, allocations: 202.6 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.328, allocations: 139.8 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3282, allocations: 19.97 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.3283, allocations: 55.89 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.999e-05/0.3284, allocations: 59.73 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3284, allocations: 8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.3285, allocations: 23.98 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.3285, allocations: 8 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.3286, allocations: 51.81 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.3288, allocations: 139.7 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3288, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3288, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3288, allocations: 4 kB / 1.221 GB, free: 114.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005518/0.3294, allocations: 442.4 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3294, allocations: 11.98 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.3295, allocations: 8.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3296, allocations: 172.2 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.3297, allocations: 8.359 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.3297, allocations: 16.38 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3298, allocations: 46.19 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3298, allocations: 192 / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3299, allocations: 7.938 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3299, allocations: 7.938 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.3299, allocations: 11.98 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.3304, allocations: 352.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.3305, allocations: 34.45 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.3305, allocations: 24.94 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.3305, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3307, allocations: 75.38 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3307, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002389/0.331, allocations: 105.5 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.331, allocations: 51.41 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.369e-05/0.3311, allocations: 117.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3311, allocations: 37.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.3312, allocations: 100 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.3312, allocations: 7.812 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.3313, allocations: 49.69 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.3314, allocations: 322.8 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.3315, allocations: 59.97 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3316, allocations: 95.75 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3318, allocations: 164 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3318, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003429/0.3321, allocations: 253 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.3322, allocations: 79.36 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3322, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3322, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.3323, allocations: 3.984 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3323, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.3326, allocations: 59.78 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3327, allocations: 11.98 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.212e-05/0.3328, allocations: 129.1 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3328, allocations: 7.906 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.3328, allocations: 8.375 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3328, allocations: 3.984 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3328, allocations: 3.938 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3328, allocations: 0 / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.625e-05/0.3329, allocations: 173.6 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3329, allocations: 3.938 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.3329, allocations: 8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3329, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.333, allocations: 3.984 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.333, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.333, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3333, allocations: 0.6785 MB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.3333, allocations: 81.11 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3333, allocations: 4 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.3333, allocations: 7.938 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3334, allocations: 7.984 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3334, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.3334, allocations: 95.2 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3334, allocations: 0 / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003032/0.3337, allocations: 35.91 kB / 1.225 GB, free: 110.2 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001591/0.3339, allocations: 103.2 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3342, allocations: 246.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3342, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.054e-05/0.3342, allocations: 27.94 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3344, allocations: 17.23 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3348, allocations: 283.6 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.335, allocations: 0.6946 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.335, allocations: 4 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.335, allocations: 11.44 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.335, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of Templates: time 0.00381/0.3388, allocations: 1.838 MB / 1.228 GB, free: 106.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)