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.001194/0.001194, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001127/0.001127, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.725/1.725, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001456/0.001456, allocations: 66.56 kB / 0.6717 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.291, allocations: 114.5 MB / 0.7835 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002055/0.2931, allocations: 0.7395 MB / 0.7842 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2945, allocations: 1.193 MB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.2946, allocations: 0 / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.399e-05/0.2946, allocations: 3.984 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.2947, allocations: 7.938 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.2953, allocations: 199.9 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.2955, allocations: 179.7 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2956, allocations: 11.98 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.2957, allocations: 67.89 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.2958, allocations: 51.86 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2959, allocations: 16 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.296, allocations: 31.98 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.296, allocations: 3.938 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.2961, allocations: 55.89 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2963, allocations: 111.9 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2963, allocations: 0 / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2963, allocations: 0 / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2963, allocations: 4 kB / 0.7861 GB, free: 11.17 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.000553/0.2968, allocations: 434.7 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2969, allocations: 8.031 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.297, allocations: 8.938 kB / 0.7866 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2971, allocations: 184.1 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2971, allocations: 4.375 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2972, allocations: 12.38 kB / 0.7867 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2973, allocations: 46.25 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2973, allocations: 192 / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2974, allocations: 7.922 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2974, allocations: 0 / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.2974, allocations: 16 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.2979, allocations: 352.7 kB / 0.7871 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.298, allocations: 38.5 kB / 0.7872 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.2981, allocations: 16.84 kB / 0.7872 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.2981, allocations: 4 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.2984, allocations: 79.47 kB / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2984, allocations: 0 / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000275/0.2986, allocations: 105.5 kB / 0.7874 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.2987, allocations: 59.39 kB / 0.7874 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.2988, allocations: 117.8 kB / 0.7876 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.2988, allocations: 33.7 kB / 0.7876 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.2989, allocations: 88.14 kB / 0.7877 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2989, allocations: 19.8 kB / 0.7877 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.299, allocations: 49.69 kB / 0.7877 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2992, allocations: 318.8 kB / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2993, allocations: 63.95 kB / 0.7881 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2995, allocations: 92.2 kB / 0.7882 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2997, allocations: 164 kB / 0.7883 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2997, allocations: 4 kB / 0.7883 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004274/0.3001, allocations: 260.8 kB / 0.7886 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.3002, allocations: 69.89 kB / 0.7887 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3002, allocations: 4 kB / 0.7887 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3003, allocations: 4.125 kB / 0.7887 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.3003, allocations: 4 kB / 0.7887 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3003, allocations: 0 / 0.7887 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.3007, allocations: 55.84 kB / 0.7887 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.3007, allocations: 11.98 kB / 0.7887 GB, free: 8.188 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.00012/0.3008, allocations: 136 kB / 0.7889 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.3009, allocations: 11.89 kB / 0.7889 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3009, allocations: 12.38 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3009, allocations: 0 / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3009, allocations: 0 / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3009, allocations: 0 / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3011, allocations: 181.6 kB / 0.7891 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3011, allocations: 0 / 0.7891 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.3011, allocations: 3.984 kB / 0.7891 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3011, allocations: 0 / 0.7891 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3011, allocations: 8 kB / 0.7891 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3011, allocations: 4 kB / 0.7891 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3011, allocations: 0 / 0.7891 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.3013, allocations: 109 kB / 0.7892 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.3013, allocations: 81.02 kB / 0.7893 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3014, allocations: 4 kB / 0.7893 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.3014, allocations: 4 kB / 0.7893 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.3014, allocations: 3.984 kB / 0.7893 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.3014, allocations: 4 kB / 0.7893 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.3015, allocations: 99.2 kB / 0.7894 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3015, allocations: 0 / 0.7894 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00023/0.3017, allocations: 32 kB / 0.7894 GB, free: 7.414 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.000178/0.3019, allocations: 103.2 kB / 0.7895 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.3023, allocations: 251 kB / 0.7897 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3023, allocations: 0 / 0.7897 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.3023, allocations: 32.19 kB / 0.7898 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.3026, allocations: 24.06 kB / 0.7898 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.303, allocations: 188.4 kB / 0.79 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3032, allocations: 0.699 MB / 0.7907 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.3033, allocations: 11.44 kB / 0.7907 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3033, allocations: 0 / 0.7907 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.00323/0.3065, allocations: 1.385 MB / 0.792 GB, free: 4.652 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)