Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008131/0.0008129, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000911/0.0009112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.635/1.635, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004895/0.0004896, allocations: 21.75 kB / 0.6737 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0008184/0.2211, allocations: 434.3 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2226, allocations: 1.247 MB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.2226, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.2227, allocations: 3.938 kB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.2227, allocations: 19.84 kB / 0.7889 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.2236, allocations: 269.5 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.2238, allocations: 203.5 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2239, allocations: 16.17 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2241, allocations: 87.86 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2242, allocations: 71.77 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.2243, allocations: 12 kB / 0.7896 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.753e-05/0.2243, allocations: 23.98 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.2244, allocations: 15.98 kB / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.2244, allocations: 53.64 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2246, allocations: 143.9 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2246, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2246, allocations: 0 / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2246, allocations: 0 / 0.7898 GB, free: 9.324 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004606/0.2251, allocations: 456.2 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2252, allocations: 19.95 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.2252, allocations: 15.84 kB / 0.7903 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2253, allocations: 173.8 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.2254, allocations: 12 kB / 0.7905 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.2254, allocations: 16 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.2255, allocations: 65.59 kB / 0.7905 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2256, allocations: 4 kB / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.2256, allocations: 0 / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2256, allocations: 0 / 0.7905 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.2256, allocations: 16 kB / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.2261, allocations: 424.4 kB / 0.791 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.2262, allocations: 34.5 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.2262, allocations: 28.84 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.2262, allocations: 0 / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.2264, allocations: 95.5 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.2264, allocations: 8 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002591/0.2267, allocations: 133.5 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2267, allocations: 63.34 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.2268, allocations: 133.7 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2269, allocations: 33.7 kB / 0.7915 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.2269, allocations: 104 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.227, allocations: 7.812 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.227, allocations: 12 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2271, allocations: 318.8 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.2273, allocations: 91.95 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2275, allocations: 130 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.2277, allocations: 169.1 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2277, allocations: 0 / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005405/0.2282, allocations: 382.7 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.2283, allocations: 97.09 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2283, allocations: 4 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2283, allocations: 0 / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.341e-05/0.2284, allocations: 11.92 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2284, allocations: 8.141 kB / 0.7927 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.2289, allocations: 119.8 kB / 0.7928 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.2289, allocations: 23.92 kB / 0.7929 GB, free: 5.867 MB / 0.6075 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.229, allocations: 125.8 kB / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2291, allocations: 11.84 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2291, allocations: 12.38 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2291, allocations: 4 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2291, allocations: 0 / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2291, allocations: 3.953 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2293, allocations: 189.6 kB / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2293, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.2293, allocations: 4 kB / 0.7932 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2293, allocations: 4 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2293, allocations: 0 / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2293, allocations: 3.938 kB / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2293, allocations: 4 kB / 0.7932 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.2295, allocations: 137 kB / 0.7933 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.2295, allocations: 84.95 kB / 0.7934 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2296, allocations: 4 kB / 0.7934 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.2296, allocations: 7.984 kB / 0.7934 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2296, allocations: 7.984 kB / 0.7934 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2296, allocations: 12 kB / 0.7935 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.2297, allocations: 102.1 kB / 0.7936 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2297, allocations: 0 / 0.7936 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002563/0.23, allocations: 44 kB / 0.7936 GB, free: 5.027 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.2301, allocations: 107.2 kB / 0.7937 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.2305, allocations: 366 kB / 0.7941 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2305, allocations: 4 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.725e-05/0.2306, allocations: 36.39 kB / 0.7941 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.2309, allocations: 31.92 kB / 0.7941 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2312, allocations: 207.4 kB / 0.7943 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2314, allocations: 0.7004 MB / 0.795 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.2315, allocations: 8.422 kB / 0.795 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.2315, allocations: 15.44 kB / 0.795 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2315, allocations: 0 / 0.795 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.004638/0.2362, allocations: 2.387 MB / 0.7974 GB, free: 1.117 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) Environment - environmentSimulation: