Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000964/0.0009641, allocations: 182.9 kB / 327.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007522/0.0007523, allocations: 88.23 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006574/0.0006577, allocations: 16.03 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2803, allocations: 106.3 MB / 0.9015 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001574/0.2819, allocations: 1.103 MB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.2824, allocations: 201.6 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.2824, allocations: 0 / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.2825, allocations: 0 / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2826, allocations: 19.86 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.2827, allocations: 8 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.2828, allocations: 59.78 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2829, allocations: 4 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.283, allocations: 23.91 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.283, allocations: 19.86 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2831, allocations: 4 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.2831, allocations: 0 / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.2831, allocations: 11.98 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.2832, allocations: 53.56 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.94e-05/0.2832, allocations: 27.94 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2833, allocations: 4 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2833, allocations: 0 / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2833, allocations: 0 / 0.903 GB, free: 61.73 MB / 0.6042 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.0005078/0.2838, allocations: 373.1 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2838, allocations: 12.03 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.2839, allocations: 0.9375 kB / 0.9033 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.504e-05/0.284, allocations: 180.2 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.284, allocations: 8.375 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.284, allocations: 384 / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.942e-05/0.2841, allocations: 54.17 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2841, allocations: 192 / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2841, allocations: 7.938 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2842, allocations: 7.938 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.2842, allocations: 23.98 kB / 0.9036 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.2846, allocations: 268.9 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.2847, allocations: 50.5 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.2847, allocations: 24.91 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2847, allocations: 0 / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.2849, allocations: 75.38 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2849, allocations: 0 / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001945/0.2851, allocations: 81.91 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.2852, allocations: 59.34 kB / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.2852, allocations: 121.8 kB / 0.9043 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2852, allocations: 29.7 kB / 0.9043 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.2853, allocations: 88.14 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.2853, allocations: 7.906 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.2853, allocations: 8 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.2854, allocations: 314.8 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.2854, allocations: 12 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.2854, allocations: 38.56 kB / 0.9047 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/0.2855, allocations: 54.44 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2855, allocations: 0 / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.189e-05/0.2856, allocations: 77.53 kB / 0.9049 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2856, allocations: 4 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2856, allocations: 0 / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2857, allocations: 4 kB / 0.9049 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.2857, allocations: 11.98 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2857, allocations: 0 / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.2858, allocations: 23.98 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2858, allocations: 0 / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.151e-05/0.2859, allocations: 121.7 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.2859, allocations: 7.906 kB / 0.905 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.286, allocations: 8.562 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.286, allocations: 4 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.286, allocations: 3.938 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.286, allocations: 3.984 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.2861, allocations: 177.6 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2861, allocations: 4 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-06/0.2861, allocations: 7.938 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2861, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2861, allocations: 3.984 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2861, allocations: 4 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2862, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.2863, allocations: 104.9 kB / 0.9053 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.2863, allocations: 77.11 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2863, allocations: 15.98 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.2864, allocations: 11.98 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.2865, allocations: 11.98 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2865, allocations: 4 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.2865, allocations: 87.28 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2865, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002055/0.2867, allocations: 11.91 kB / 0.9055 GB, free: 58.76 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001142/0.2868, allocations: 111.2 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.287, allocations: 40.62 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.287, allocations: 0 / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.287, allocations: 24 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.2872, allocations: 19.92 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.2876, allocations: 196.2 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2877, allocations: 0.6905 MB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.2877, allocations: 11.44 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.2877, allocations: 0 / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.002011/0.2897, allocations: 0.908 MB / 0.9075 GB, free: 56.71 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)