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.001175/0.001175, allocations: 110.4 kB / 16.37 MB, free: 5.953 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.001157/0.001157, allocations: 190.2 kB / 17.31 MB, free: 5.574 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.411/1.411, 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.002834/0.002834, allocations: 80.66 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2669, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002328/0.2693, allocations: 0.7164 MB / 0.7855 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2711, allocations: 1.258 MB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.2712, allocations: 8 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.2713, allocations: 3.938 kB / 0.7868 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.2714, allocations: 19.78 kB / 0.7868 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.2723, allocations: 308 kB / 0.7871 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.2726, allocations: 275.6 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2727, allocations: 20.17 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.2729, allocations: 103.8 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2731, allocations: 91.73 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.2731, allocations: 20 kB / 0.7876 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.2732, allocations: 39.98 kB / 0.7876 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.2733, allocations: 19.91 kB / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.2734, allocations: 83.8 kB / 0.7877 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.2736, allocations: 215.4 kB / 0.7879 GB, free: 36 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2737, allocations: 0 / 0.7879 GB, free: 36 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2737, allocations: 0 / 0.7879 GB, free: 36 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2737, allocations: 0 / 0.7879 GB, free: 36 kB / 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.3667/0.6403, allocations: 498.2 kB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6404, allocations: 10.5 kB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.6405, allocations: 15.34 kB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.6406, allocations: 175 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6406, allocations: 11.34 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.6406, allocations: 18 kB / 0.7886 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.6408, allocations: 56.16 kB / 0.7886 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.6408, allocations: 0 / 0.7886 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6408, allocations: 6.109 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6408, allocations: 0.5938 kB / 0.7886 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.021e-05/0.6409, allocations: 22.2 kB / 0.7887 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.6413, allocations: 419.5 kB / 0.7891 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.001e-05/0.6414, allocations: 32.86 kB / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.6415, allocations: 20.83 kB / 0.7891 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.6415, allocations: 0.5312 kB / 0.7891 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.6416, allocations: 108.4 kB / 0.7892 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.6416, allocations: 0 / 0.7892 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002627/0.6419, allocations: 132.2 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6419, allocations: 58.56 kB / 0.7894 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.642, allocations: 135.6 kB / 0.7895 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.6421, allocations: 33.64 kB / 0.7896 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.6421, allocations: 97.88 kB / 0.7897 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.6422, allocations: 25.06 kB / 0.7897 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.6423, allocations: 68 kB / 0.7897 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.6423, allocations: 322.2 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.6425, allocations: 91.11 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.6426, allocations: 135.2 kB / 0.7903 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.6429, allocations: 236.4 kB / 0.7905 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6429, allocations: 0.5312 kB / 0.7905 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000485/0.6434, allocations: 369.2 kB / 0.7909 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.6434, allocations: 100.9 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6434, allocations: 2.625 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6434, allocations: 2.625 kB / 0.791 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.6435, allocations: 9.422 kB / 0.791 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6435, allocations: 7 kB / 0.791 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.644, allocations: 86.38 kB / 0.791 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.644, allocations: 19.52 kB / 0.7911 GB, free: 47.05 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 8.895e-05/0.6441, allocations: 133.8 kB / 0.7912 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.6441, allocations: 10.2 kB / 0.7912 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.6442, allocations: 8.938 kB / 0.7912 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6442, allocations: 5.219 kB / 0.7912 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6442, allocations: 0 / 0.7912 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6442, allocations: 3.328 kB / 0.7912 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.6443, allocations: 187.7 kB / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6443, allocations: 3.906 kB / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.6443, allocations: 3.422 kB / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6443, allocations: 3.312 kB / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.6443, allocations: 0 / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.6444, allocations: 6.438 kB / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6444, allocations: 4.5 kB / 0.7914 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.6445, allocations: 144.1 kB / 0.7916 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.6445, allocations: 85.05 kB / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.6446, allocations: 9.719 kB / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.6446, allocations: 0 / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.6446, allocations: 14.33 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.6447, allocations: 2.625 kB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.6447, allocations: 96.52 kB / 0.7918 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6447, allocations: 3.125 kB / 0.7918 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002502/0.645, allocations: 45.36 kB / 0.7918 GB, free: 46.5 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.0001378/0.6451, allocations: 108 kB / 0.7919 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.6455, allocations: 365.1 kB / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6455, allocations: 0 / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.6456, allocations: 44.98 kB / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.6458, allocations: 26.56 kB / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.6462, allocations: 227.5 kB / 0.7925 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.6463, allocations: 0.6939 MB / 0.7932 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.6464, allocations: 15.17 kB / 0.7932 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6464, allocations: 0 / 0.7932 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.003146/0.6495, allocations: 1.868 MB / 0.7951 GB, free: 45.27 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)