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.001764/0.001765, allocations: 103.2 kB / 16.35 MB, free: 6.348 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.001984/0.001984, allocations: 195.4 kB / 17.29 MB, free: 5.93 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.611/1.611, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.051/2.051, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001473/0.001473, allocations: 79.86 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2616, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002475/0.2641, allocations: 0.6623 MB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.266, allocations: 1.188 MB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.2661, allocations: 0 / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.2661, allocations: 3.938 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.2662, allocations: 15.86 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.267, allocations: 217.1 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2673, allocations: 183.8 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2674, allocations: 11.98 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2676, allocations: 67.89 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.2678, allocations: 59.84 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.2678, allocations: 16 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.2679, allocations: 31.92 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.2679, allocations: 15.88 kB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.268, allocations: 55.81 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.2683, allocations: 159.6 kB / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2683, allocations: 0 / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2683, allocations: 0 / 0.7874 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2683, allocations: 0 / 0.7874 GB, free: 0.5078 MB / 0.6544 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.0005652/0.2689, allocations: 430.8 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2689, allocations: 8.031 kB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.269, allocations: 12.84 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3975/0.6665, allocations: 162.2 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.6666, allocations: 8.391 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/0.6667, allocations: 9.281 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.6669, allocations: 48.52 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.6669, allocations: 2.281 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.667, allocations: 3.031 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.667, allocations: 0 / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/0.667, allocations: 20.05 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.6676, allocations: 357.2 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.405e-05/0.6677, allocations: 35.8 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.6677, allocations: 16.5 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.6677, allocations: 0.9375 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.668, allocations: 87.73 kB / 0.7885 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.668, allocations: 0 / 0.7885 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002654/0.6682, allocations: 106 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6683, allocations: 52.72 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.6684, allocations: 124.1 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.6684, allocations: 32.83 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.6685, allocations: 89.41 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.6685, allocations: 11 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.6686, allocations: 52.19 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.6687, allocations: 317.5 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.6688, allocations: 58.17 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.6689, allocations: 102.2 kB / 0.7895 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.6691, allocations: 158.9 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6691, allocations: 0.9375 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004111/0.6695, allocations: 269.2 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.6696, allocations: 71.38 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6696, allocations: 5.812 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6696, allocations: 1.219 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.708e-05/0.6697, allocations: 4.938 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6697, allocations: 3.062 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.67, allocations: 48 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.6701, allocations: 14.52 kB / 0.79 GB, free: 47.42 MB / 0.6544 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 9.74e-05/0.6702, allocations: 134.8 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.6702, allocations: 6.906 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.6702, allocations: 10.08 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6702, allocations: 2.375 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6703, allocations: 0 / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6703, allocations: 2.625 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.6704, allocations: 178.2 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6704, allocations: 2.938 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.6704, allocations: 3.875 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6704, allocations: 3 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.6704, allocations: 2.844 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6704, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6705, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.6706, allocations: 113.5 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.6706, allocations: 83.77 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.6707, allocations: 4 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.6707, allocations: 6.625 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.6707, allocations: 7.422 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6707, allocations: 2.625 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.6708, allocations: 94.47 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6708, allocations: 1.281 kB / 0.7906 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002432/0.6711, allocations: 27.91 kB / 0.7907 GB, free: 46.86 MB / 0.6544 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.0001651/0.6712, allocations: 106.6 kB / 0.7908 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003624/0.6716, allocations: 243.2 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6716, allocations: 1.531 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.589e-05/0.6717, allocations: 27.89 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.6719, allocations: 28.64 kB / 0.791 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.6722, allocations: 155.3 kB / 0.7912 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.6724, allocations: 0.6838 MB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.6724, allocations: 12.44 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.6724, allocations: 12.03 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6724, allocations: 0 / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.004238/0.6767, allocations: 1.834 MB / 0.7937 GB, free: 45.76 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)