Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 195.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.951/1.951, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 68.44 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3129, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002377/0.3153, allocations: 0.6732 MB / 0.7848 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3174, allocations: 1.184 MB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.3175, allocations: 0 / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.271e-05/0.3176, allocations: 7.938 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.3177, allocations: 15.86 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.3185, allocations: 218.2 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.3188, allocations: 179.7 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.319, allocations: 12 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3191, allocations: 67.89 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.3193, allocations: 71.7 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.3193, allocations: 16 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3194, allocations: 27.98 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.3195, allocations: 4 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.3196, allocations: 63.81 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3199, allocations: 155.5 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3199, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3199, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3199, allocations: 0 / 0.7868 GB, free: 10.04 MB / 0.6075 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.0007681/0.3207, allocations: 438.7 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.62e-05/0.3208, allocations: 12.03 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.3209, allocations: 8.938 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.3211, allocations: 164.3 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.3212, allocations: 8.375 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.3212, allocations: 16.36 kB / 0.7874 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3214, allocations: 50.19 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3214, allocations: 192 / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.3215, allocations: 7.938 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3215, allocations: 7.938 kB / 0.7874 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.3216, allocations: 15.98 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.3223, allocations: 348.8 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3224, allocations: 34.52 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3226, allocations: 20.94 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.3226, allocations: 0 / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.3229, allocations: 79.31 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3229, allocations: 0 / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003106/0.3232, allocations: 113.5 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.3233, allocations: 51.41 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3235, allocations: 126 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3235, allocations: 29.7 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3236, allocations: 92.14 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3236, allocations: 15.91 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3238, allocations: 53.62 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3239, allocations: 322.8 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3242, allocations: 55.97 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3243, allocations: 96.25 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.3246, allocations: 155.6 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3246, allocations: 0 / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004097/0.325, allocations: 256.9 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.058e-05/0.3251, allocations: 71.39 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3251, allocations: 0 / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3251, allocations: 4.125 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.691e-05/0.3252, allocations: 15.98 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3252, allocations: 0 / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.3255, allocations: 51.84 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3256, allocations: 12 kB / 0.7894 GB, free: 7.059 MB / 0.6075 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 0.0001119/0.3257, allocations: 140.8 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.3257, allocations: 7.906 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.3257, allocations: 4.375 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3257, allocations: 0 / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3258, allocations: 3.938 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3258, allocations: 3.984 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3259, allocations: 185.6 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3259, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.3259, allocations: 7.938 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3259, allocations: 0 / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.326, allocations: 0 / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.326, allocations: 4.094 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.326, allocations: 3.938 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3261, allocations: 110.1 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3262, allocations: 85.02 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3262, allocations: 3.984 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/0.3262, allocations: 0 / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3263, allocations: 4 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3263, allocations: 4 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.3263, allocations: 95.27 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3263, allocations: 0 / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000235/0.3266, allocations: 28 kB / 0.79 GB, free: 6.289 MB / 0.6075 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.00019/0.3268, allocations: 111.2 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.3272, allocations: 250.6 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3272, allocations: 0 / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.3272, allocations: 24.25 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.3275, allocations: 15.98 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.3279, allocations: 154.7 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3283, allocations: 0.6951 MB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.3283, allocations: 11.72 kB / 0.7913 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.3283, allocations: 11.44 kB / 0.7913 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.3283, allocations: 4 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.005016/0.3334, allocations: 1.842 MB / 0.7931 GB, free: 3.113 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)