Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001134/0.001134, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.601/1.601, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005172/0.0005172, allocations: 16.16 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2351, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0007765/0.2359, allocations: 402.3 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2373, allocations: 1.162 MB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.2373, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.2373, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.2374, allocations: 7.938 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.238, allocations: 203.3 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.2381, allocations: 139.7 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.916e-05/0.2382, allocations: 4 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.2383, allocations: 59.89 kB / 0.7892 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.2384, allocations: 51.86 kB / 0.7893 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.2384, allocations: 12 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.2385, allocations: 19.98 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2385, allocations: 11.92 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.2386, allocations: 41.64 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2387, allocations: 104 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2387, allocations: 0 / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2388, allocations: 0 / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2388, allocations: 0 / 0.7894 GB, free: 9.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003937/0.2392, allocations: 406.7 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2392, allocations: 12.03 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.2393, allocations: 15.84 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.2394, allocations: 167 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2394, allocations: 8 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.2394, allocations: 11.94 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.2395, allocations: 49.67 kB / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2396, allocations: 0 / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2396, allocations: 4 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2396, allocations: 0 / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.2396, allocations: 15.98 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.2401, allocations: 368.6 kB / 0.7905 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.2402, allocations: 38.5 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.2402, allocations: 16.86 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2402, allocations: 0 / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.2404, allocations: 79.47 kB / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2404, allocations: 0 / 0.7906 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002191/0.2406, allocations: 113.5 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.2406, allocations: 51.41 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.2407, allocations: 114 kB / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2408, allocations: 29.7 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2408, allocations: 100.2 kB / 0.791 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2408, allocations: 11.91 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.2409, allocations: 4 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.241, allocations: 322.8 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2411, allocations: 63.95 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2412, allocations: 92.2 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2414, allocations: 119.7 kB / 0.7916 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2414, allocations: 8 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003713/0.2418, allocations: 256.8 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.2418, allocations: 70.2 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2418, allocations: 4 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.2419, allocations: 0 / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.101e-05/0.2419, allocations: 7.984 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2419, allocations: 0 / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.2422, allocations: 75.97 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.2423, allocations: 15.98 kB / 0.792 GB, free: 6.852 MB / 0.6075 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/0.2424, allocations: 136.6 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2424, allocations: 4 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.2424, allocations: 8.375 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2424, allocations: 7.984 kB / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2424, allocations: 0 / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2424, allocations: 64 / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.2426, allocations: 177.6 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2426, allocations: 0 / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.2426, allocations: 3.984 kB / 0.7923 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2426, allocations: 4 kB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2426, allocations: 7.984 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2426, allocations: 0 / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2426, allocations: 0 / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.2428, allocations: 121.2 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.2428, allocations: 81.02 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2429, allocations: 0 / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.031e-05/0.2429, allocations: 4 kB / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.2429, allocations: 15.98 kB / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2429, allocations: 0 / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.243, allocations: 95.2 kB / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.243, allocations: 0 / 0.7926 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002234/0.2432, allocations: 32 kB / 0.7926 GB, free: 6.074 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.2434, allocations: 103.2 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.2437, allocations: 246.6 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2437, allocations: 4.25 kB / 0.793 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.2438, allocations: 39.98 kB / 0.793 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.244, allocations: 11.95 kB / 0.793 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.2443, allocations: 171.3 kB / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2446, allocations: 0.6926 MB / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.2446, allocations: 4 kB / 0.7939 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.2446, allocations: 7.438 kB / 0.7939 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2446, allocations: 4 kB / 0.7939 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of Templates: time 0.004379/0.249, allocations: 1.696 MB / 0.7955 GB, free: 3.043 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) Environment - environmentSimulation: