Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 101.6 kB / 16.27 MB, free: 6.418 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: 189.8 kB / 17.2 MB, free: 5.953 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.479/1.479, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.78/1.78, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001444/0.001444, allocations: 75.33 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.245, allocations: 114.5 MB / 0.784 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002121/0.2472, allocations: 0.7196 MB / 0.7847 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2488, allocations: 1.258 MB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2489, allocations: 0 / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.249, allocations: 7.875 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.249, allocations: 15.86 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008125/0.2499, allocations: 308.1 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2501, allocations: 267.7 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2503, allocations: 16.17 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2504, allocations: 107.7 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2505, allocations: 71.78 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2506, allocations: 24 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.2507, allocations: 35.98 kB / 0.7868 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.2507, allocations: 15.97 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2508, allocations: 83.75 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.2511, allocations: 223.7 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2511, allocations: 0 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2511, allocations: 0 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2511, allocations: 4 kB / 0.7871 GB, free: 0.7109 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.0005989/0.2517, allocations: 496.3 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2518, allocations: 12.03 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.2519, allocations: 12.84 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3887/0.6406, allocations: 170.5 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.6407, allocations: 8.281 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.6408, allocations: 13.66 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.641, allocations: 57.05 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.641, allocations: 0.6562 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6411, allocations: 7.953 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6411, allocations: 0 / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.6411, allocations: 24.38 kB / 0.7879 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.6417, allocations: 419.3 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.6417, allocations: 34 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.6418, allocations: 17.83 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.6418, allocations: 7.562 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002391/0.642, allocations: 104.2 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.6421, allocations: 2.688 kB / 0.7884 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002879/0.6424, allocations: 135.9 kB / 0.7886 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6424, allocations: 56.94 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.6425, allocations: 134.6 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.6425, allocations: 36.42 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.6426, allocations: 95.64 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.6426, allocations: 22.19 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.6427, allocations: 68.66 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.6428, allocations: 320.9 kB / 0.7893 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.643, allocations: 86.19 kB / 0.7893 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.6432, allocations: 136.7 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.6434, allocations: 243.7 kB / 0.7897 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6434, allocations: 0 / 0.7897 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004903/0.6439, allocations: 377.1 kB / 0.7901 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.644, allocations: 101.6 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.644, allocations: 2.625 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.644, allocations: 0 / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.653e-05/0.644, allocations: 12.84 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.644, allocations: 3.156 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.6445, allocations: 76.42 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.6446, allocations: 21.12 kB / 0.7903 GB, free: 47.46 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,and1.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 9.371e-05/0.6447, allocations: 133.6 kB / 0.7904 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.6447, allocations: 11.31 kB / 0.7904 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.6447, allocations: 11.94 kB / 0.7904 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6448, allocations: 2.688 kB / 0.7904 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6448, allocations: 4.844 kB / 0.7904 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6448, allocations: 3.141 kB / 0.7904 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.6449, allocations: 188.3 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6449, allocations: 5.922 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.6449, allocations: 0 / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6449, allocations: 0 / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.6449, allocations: 6.094 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6449, allocations: 1.656 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.645, allocations: 2.312 kB / 0.7906 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.6451, allocations: 136.3 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.6451, allocations: 86.72 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.6452, allocations: 2.5 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.6452, allocations: 4.594 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.6452, allocations: 12.2 kB / 0.7909 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-06/0.6453, allocations: 4.312 kB / 0.7909 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.6453, allocations: 101.7 kB / 0.791 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6453, allocations: 0.625 kB / 0.791 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002592/0.6456, allocations: 48.28 kB / 0.791 GB, free: 46.9 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,and1.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.000154/0.6457, allocations: 111.5 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.6461, allocations: 375.5 kB / 0.7915 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6462, allocations: 0.5 kB / 0.7915 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.6462, allocations: 38.48 kB / 0.7915 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.6465, allocations: 34.06 kB / 0.7915 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.6469, allocations: 212.5 kB / 0.7917 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.647, allocations: 0.6985 MB / 0.7924 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.6471, allocations: 16.94 kB / 0.7924 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6471, allocations: 1.656 kB / 0.7924 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.003231/0.6503, allocations: 1.874 MB / 0.7943 GB, free: 45.67 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)