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.001173/0.001173, allocations: 103 kB / 16.36 MB, free: 6.309 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.001106/0.001106, allocations: 192.3 kB / 17.29 MB, free: 5.871 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.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.25 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 1.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.002077/0.002077, allocations: 67.91 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.212, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001981/0.2141, allocations: 0.7251 MB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2156, allocations: 1.254 MB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.2157, allocations: 4 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.2157, allocations: 7.875 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.2158, allocations: 19.84 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.2166, allocations: 313.2 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.2169, allocations: 271.6 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.217, allocations: 12.19 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2171, allocations: 111.8 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.2172, allocations: 91.73 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.2173, allocations: 24 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.2174, allocations: 35.98 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.2174, allocations: 11.98 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2175, allocations: 83.75 kB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3382/0.5557, allocations: 219.1 kB / 0.7879 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5557, allocations: 2 kB / 0.7879 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5557, allocations: 0 / 0.7879 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.5558, allocations: 0 / 0.7879 GB, free: 47.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005263/0.5563, allocations: 498.9 kB / 0.7884 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5563, allocations: 8.781 kB / 0.7884 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.5564, allocations: 17.09 kB / 0.7884 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.5565, allocations: 174.1 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5565, allocations: 6.5 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.5566, allocations: 20.66 kB / 0.7886 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.5567, allocations: 56.55 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.5567, allocations: 0 / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5567, allocations: 10.95 kB / 0.7886 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.5567, allocations: 0 / 0.7886 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.5568, allocations: 19.72 kB / 0.7887 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.5572, allocations: 417.8 kB / 0.7891 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/0.5573, allocations: 34.58 kB / 0.7891 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.5574, allocations: 24.72 kB / 0.7891 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.5574, allocations: 0 / 0.7891 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.5575, allocations: 100.1 kB / 0.7892 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.5575, allocations: 0.5938 kB / 0.7892 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002543/0.5578, allocations: 141.5 kB / 0.7893 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.5578, allocations: 54.03 kB / 0.7894 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.5579, allocations: 140.5 kB / 0.7895 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.5579, allocations: 35.05 kB / 0.7896 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.558, allocations: 94.38 kB / 0.7897 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.558, allocations: 25.58 kB / 0.7897 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.5581, allocations: 64.97 kB / 0.7897 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.5582, allocations: 321.7 kB / 0.79 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.5583, allocations: 89.92 kB / 0.7901 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5585, allocations: 140.2 kB / 0.7903 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.5587, allocations: 229.2 kB / 0.7905 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5587, allocations: 3.625 kB / 0.7905 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004695/0.5592, allocations: 373.2 kB / 0.7908 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.5593, allocations: 103.4 kB / 0.7909 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5593, allocations: 0 / 0.7909 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5593, allocations: 2.625 kB / 0.7909 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.651e-05/0.5593, allocations: 9.156 kB / 0.791 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5593, allocations: 2.625 kB / 0.791 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.5598, allocations: 83.69 kB / 0.791 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.5599, allocations: 23.91 kB / 0.7911 GB, free: 45.01 MB / 0.6544 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 8.956e-05/0.56, allocations: 132.2 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.56, allocations: 10.16 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.56, allocations: 9.734 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.56, allocations: 2.625 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.56, allocations: 1.375 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.56, allocations: 0 / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.5602, allocations: 192.9 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5602, allocations: 2.594 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.111e-05/0.5602, allocations: 4.031 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5602, allocations: 1.547 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5602, allocations: 8.828 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5602, allocations: 4.094 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5602, allocations: 0 / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5604, allocations: 139.3 kB / 0.7915 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.5604, allocations: 85.08 kB / 0.7916 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.5604, allocations: 6.75 kB / 0.7916 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.394e-05/0.5605, allocations: 2.656 kB / 0.7916 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.5605, allocations: 10.17 kB / 0.7916 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5605, allocations: 9.594 kB / 0.7917 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.445e-05/0.5606, allocations: 95.27 kB / 0.7917 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5606, allocations: 0 / 0.7917 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002516/0.5608, allocations: 47 kB / 0.7918 GB, free: 44.46 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: 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.0001376/0.561, allocations: 113.7 kB / 0.7919 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.5613, allocations: 365.9 kB / 0.7922 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5613, allocations: 0 / 0.7922 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.568e-05/0.5614, allocations: 41 kB / 0.7923 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.5617, allocations: 30.34 kB / 0.7923 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.562, allocations: 217.5 kB / 0.7925 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.5621, allocations: 0.6967 MB / 0.7932 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.5622, allocations: 21.5 kB / 0.7932 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.5622, allocations: 2.719 kB / 0.7932 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.003121/0.5653, allocations: 1.864 MB / 0.795 GB, free: 43.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (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)