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.001018/0.001018, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001105/0.001105, allocations: 177.3 kB / 15.94 MB, free: 228 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.668/1.668, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.721/1.721, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0004944/0.0004944, allocations: 16.56 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2486, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008702/0.2496, allocations: 400.8 kB / 0.7875 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2509, allocations: 1.128 MB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.251, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.251, allocations: 3.938 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.2511, allocations: 7.984 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.2516, allocations: 193.7 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2518, allocations: 87.83 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.2519, allocations: 11.98 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.252, allocations: 59.89 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.2521, allocations: 47.86 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.2521, allocations: 8 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.2522, allocations: 19.98 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.2522, allocations: 8 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.2523, allocations: 41.62 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2524, allocations: 108 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2524, allocations: 0 / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2524, allocations: 0 / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2524, allocations: 4 kB / 0.7892 GB, free: 9.871 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.0004719/0.2529, allocations: 402.7 kB / 0.7896 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2529, allocations: 8.031 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.253, allocations: 15.89 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2531, allocations: 163 kB / 0.7897 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2532, allocations: 11.94 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.2532, allocations: 12 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2533, allocations: 45.67 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2533, allocations: 3.938 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.2533, allocations: 4 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2534, allocations: 0 / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/0.2534, allocations: 15.98 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.2539, allocations: 360.6 kB / 0.7902 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.254, allocations: 34.56 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.254, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.2542, allocations: 87.39 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2542, allocations: 3.938 kB / 0.7903 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000252/0.2544, allocations: 97.58 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2545, allocations: 55.41 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2546, allocations: 122 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.2546, allocations: 33.7 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.2547, allocations: 88.33 kB / 0.7907 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2547, allocations: 19.8 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.2548, allocations: 7.984 kB / 0.7907 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2549, allocations: 318.8 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.255, allocations: 59.97 kB / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.2551, allocations: 96 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2553, allocations: 111.4 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2553, allocations: 0 / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003849/0.2557, allocations: 265.2 kB / 0.7915 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6e-05/0.2558, allocations: 67.39 kB / 0.7916 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2558, allocations: 4 kB / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2558, allocations: 0 / 0.7916 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-05/0.2558, allocations: 7.938 kB / 0.7916 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2558, allocations: 128 / 0.7916 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.2562, allocations: 83.92 kB / 0.7917 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2563, allocations: 11.98 kB / 0.7917 GB, free: 7.027 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.893e-05/0.2564, allocations: 128.4 kB / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.2564, allocations: 7.906 kB / 0.7918 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.2564, allocations: 8.375 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2564, allocations: 4 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2564, allocations: 0 / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2564, allocations: 0 / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.2566, allocations: 177.6 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2566, allocations: 7.938 kB / 0.792 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.2566, allocations: 0 / 0.792 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2566, allocations: 0 / 0.792 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2566, allocations: 8.062 kB / 0.792 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2566, allocations: 0 / 0.792 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2566, allocations: 0 / 0.792 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2568, allocations: 121.2 kB / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.2568, allocations: 84.95 kB / 0.7922 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2569, allocations: 7.984 kB / 0.7922 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.2569, allocations: 8 kB / 0.7922 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.2569, allocations: 0 / 0.7922 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2569, allocations: 7.984 kB / 0.7922 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.257, allocations: 91.22 kB / 0.7923 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.257, allocations: 0 / 0.7923 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002262/0.2572, allocations: 39.98 kB / 0.7924 GB, free: 6.246 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 (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.0001675/0.2574, allocations: 95.25 kB / 0.7924 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003295/0.2577, allocations: 250.7 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2578, allocations: 0 / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.2578, allocations: 24.27 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.258, allocations: 19.89 kB / 0.7927 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.2583, allocations: 175.5 kB / 0.7929 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2586, allocations: 0.6887 MB / 0.7936 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.2586, allocations: 4 kB / 0.7936 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.2586, allocations: 11.44 kB / 0.7936 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2586, allocations: 0 / 0.7936 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of Templates: time 0.004006/0.2626, allocations: 1.683 MB / 0.7952 GB, free: 3.246 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: