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.001738/0.001738, allocations: 99.47 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.001929/0.00193, 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.628/1.628, allocations: 205.4 MB / 222.1 MB, free: 5.75 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.701/1.701, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.000505/0.0005051, allocations: 18.69 kB / 0.6736 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2552, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00095/0.2562, allocations: 436.6 kB / 0.7875 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.2579, allocations: 1.187 MB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.258, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.258, allocations: 3.938 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.2581, allocations: 15.97 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.2588, allocations: 284.1 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.259, allocations: 119.8 kB / 0.7891 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.2591, allocations: 16.17 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.2592, allocations: 91.78 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2594, allocations: 63.84 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.2594, allocations: 12 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.748e-05/0.2595, allocations: 31.98 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2595, allocations: 11.92 kB / 0.7893 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.613e-05/0.2596, allocations: 45.7 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2598, allocations: 151.9 kB / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2598, allocations: 0 / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2598, allocations: 0 / 0.7895 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2598, allocations: 0 / 0.7895 GB, free: 9.484 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.0005251/0.2603, allocations: 464.1 kB / 0.79 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2604, allocations: 8.031 kB / 0.79 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2605, allocations: 15.91 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2607, allocations: 175 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.2607, allocations: 8 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.2608, allocations: 16 kB / 0.7902 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2609, allocations: 53.66 kB / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2609, allocations: 0 / 0.7902 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.261, allocations: 4 kB / 0.7902 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.261, allocations: 4 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.261, allocations: 15.98 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.2616, allocations: 428.4 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.2617, allocations: 26.58 kB / 0.7907 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2617, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.262, allocations: 107.3 kB / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.262, allocations: 0 / 0.7908 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002942/0.2623, allocations: 141.4 kB / 0.7909 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2623, allocations: 55.41 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2624, allocations: 132.2 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.2625, allocations: 33.7 kB / 0.7911 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.2626, allocations: 108.1 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.2626, allocations: 15.81 kB / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.2626, allocations: 8 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2628, allocations: 326.8 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2629, allocations: 87.95 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2631, allocations: 134 kB / 0.7918 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.2634, allocations: 173 kB / 0.7919 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2634, allocations: 0 / 0.7919 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000588/0.264, allocations: 370.1 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.264, allocations: 101.1 kB / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.264, allocations: 4 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2641, allocations: 0 / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.871e-05/0.2641, allocations: 15.91 kB / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2641, allocations: 4 kB / 0.7924 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.2647, allocations: 123.9 kB / 0.7925 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.2647, allocations: 19.92 kB / 0.7926 GB, free: 6.066 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.0001212/0.2648, allocations: 129.8 kB / 0.7927 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.2649, allocations: 7.906 kB / 0.7927 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.2649, allocations: 20.31 kB / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2649, allocations: 0 / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2649, allocations: 0 / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2649, allocations: 0 / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2651, allocations: 197.5 kB / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2651, allocations: 0 / 0.7929 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.2651, allocations: 4 kB / 0.7929 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2651, allocations: 0 / 0.7929 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2651, allocations: 4 kB / 0.7929 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2651, allocations: 8 kB / 0.7929 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2652, allocations: 0 / 0.7929 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.2653, allocations: 145.2 kB / 0.793 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2654, allocations: 85.02 kB / 0.7931 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.2654, allocations: 0 / 0.7931 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.561e-05/0.2654, allocations: 3.984 kB / 0.7931 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2655, allocations: 11.98 kB / 0.7931 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2655, allocations: 4 kB / 0.7931 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.2656, allocations: 102.1 kB / 0.7932 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 4 kB / 0.7932 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002487/0.2658, allocations: 40 kB / 0.7933 GB, free: 5.223 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.0001693/0.266, allocations: 111.2 kB / 0.7934 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.2665, allocations: 358.1 kB / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2665, allocations: 0 / 0.7937 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.2666, allocations: 39.92 kB / 0.7938 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.2668, allocations: 28.3 kB / 0.7938 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.2672, allocations: 199.5 kB / 0.794 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.2675, allocations: 0.7004 MB / 0.7947 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.2676, allocations: 8.438 kB / 0.7947 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.2676, allocations: 15.44 kB / 0.7947 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2676, allocations: 0 / 0.7947 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.005565/0.2732, allocations: 2.387 MB / 0.797 GB, free: 1.324 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: