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.0008465/0.0008465, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007777/0.007777, allocations: 171.6 kB / 16.26 MB, free: 6.676 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.915/1.915, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.962/1.962, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006986/0.0006984, allocations: 22.69 kB / 0.6743 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.352, allocations: 116.3 MB / 0.7879 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001104/0.3532, allocations: 450.2 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3549, allocations: 1.29 MB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.355, allocations: 0 / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.355, allocations: 3.938 kB / 0.7896 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.3551, allocations: 11.92 kB / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.3559, allocations: 289.8 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.3561, allocations: 223.6 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3562, allocations: 20.16 kB / 0.7901 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3564, allocations: 87.81 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3565, allocations: 71.77 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.3565, allocations: 15.94 kB / 0.7903 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.3566, allocations: 23.98 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.3566, allocations: 11.98 kB / 0.7903 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3568, allocations: 105.4 kB / 0.7904 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.357, allocations: 215.6 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.357, allocations: 0 / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.357, allocations: 0 / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.357, allocations: 0 / 0.7906 GB, free: 8.73 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.0005323/0.3576, allocations: 452.4 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3576, allocations: 8.031 kB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.3577, allocations: 20.83 kB / 0.7911 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3578, allocations: 172.3 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3579, allocations: 4.375 kB / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.3579, allocations: 20.38 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3581, allocations: 58.22 kB / 0.7913 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3581, allocations: 3.938 kB / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3581, allocations: 0 / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3581, allocations: 0 / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.3582, allocations: 23.94 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.3588, allocations: 424.5 kB / 0.7918 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.359, allocations: 30.56 kB / 0.7918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.359, allocations: 16.86 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.359, allocations: 0 / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3592, allocations: 107.3 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 7.895e-06/0.3592, allocations: 3.984 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003294/0.3596, allocations: 137.5 kB / 0.792 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3596, allocations: 55.41 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3598, allocations: 132.1 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3598, allocations: 34.08 kB / 0.7922 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.3599, allocations: 100 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3599, allocations: 23.81 kB / 0.7924 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.36, allocations: 33.7 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3602, allocations: 326.7 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3604, allocations: 87.95 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.3606, allocations: 141.9 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.3609, allocations: 227.8 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3609, allocations: 4 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005991/0.3615, allocations: 382.3 kB / 0.7935 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.3616, allocations: 97.09 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3616, allocations: 0 / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3616, allocations: 8.188 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.744e-05/0.3616, allocations: 7.984 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3617, allocations: 0 / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.3623, allocations: 107.9 kB / 0.7937 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.3623, allocations: 23.97 kB / 0.7937 GB, free: 5.188 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,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.000143/0.3625, allocations: 137.7 kB / 0.7939 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3625, allocations: 7.906 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.3625, allocations: 8.375 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3625, allocations: 4 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3626, allocations: 0 / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3626, allocations: 0 / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.3628, allocations: 201.4 kB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3628, allocations: 0 / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-06/0.3628, allocations: 0 / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3628, allocations: 4 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3628, allocations: 15.98 kB / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3628, allocations: 0 / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3628, allocations: 0 / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.363, allocations: 136.9 kB / 0.7942 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.3631, allocations: 81.02 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3631, allocations: 7.984 kB / 0.7943 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.3631, allocations: 4 kB / 0.7943 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3632, allocations: 7.984 kB / 0.7943 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3632, allocations: 8 kB / 0.7943 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.627e-05/0.3633, allocations: 106.4 kB / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3633, allocations: 0 / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002698/0.3635, allocations: 44.09 kB / 0.7945 GB, free: 4.336 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 (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.0002514/0.3638, allocations: 107.2 kB / 0.7946 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005536/0.3644, allocations: 362.3 kB / 0.7949 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.3644, allocations: 8.062 kB / 0.7949 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.3645, allocations: 47.86 kB / 0.795 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3648, allocations: 22.8 kB / 0.795 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.3652, allocations: 211.5 kB / 0.7952 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3656, allocations: 0.6926 MB / 0.7959 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.3657, allocations: 8.422 kB / 0.7959 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.3657, allocations: 15.44 kB / 0.7959 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3657, allocations: 4 kB / 0.7959 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of Templates: time 0.005872/0.3716, allocations: 2.486 MB / 0.7983 GB, free: 332 kB / 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: