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.001631/0.001631, allocations: 105.4 kB / 16.36 MB, free: 6.414 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.001571/0.001571, allocations: 193.7 kB / 17.3 MB, free: 5.789 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.885/1.885, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.00147/0.00147, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2562, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002381/0.2587, allocations: 0.6673 MB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2604, allocations: 1.184 MB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.2604, allocations: 3.938 kB / 0.7866 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.2605, allocations: 3.938 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.2606, allocations: 15.92 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007587/0.2614, allocations: 217.5 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.2616, allocations: 187.8 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2618, allocations: 8 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2619, allocations: 71.83 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2621, allocations: 59.84 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.2621, allocations: 16 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.2622, allocations: 27.98 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.2623, allocations: 19.91 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.2624, allocations: 51.89 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.2626, allocations: 159.5 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2626, allocations: 0 / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2627, allocations: 4 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2627, allocations: 0 / 0.7874 GB, free: 444 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.4761/0.7388, allocations: 429.8 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7389, allocations: 8.5 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.739, allocations: 10 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.739, allocations: 171.3 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.7391, allocations: 5.562 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.7391, allocations: 11.86 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.7392, allocations: 49.62 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7392, allocations: 2.719 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7393, allocations: 9.281 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7393, allocations: 0.9375 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.7393, allocations: 20.11 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.7398, allocations: 353.8 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.7399, allocations: 37.53 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.7399, allocations: 18.14 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.7399, allocations: 0.5625 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.7401, allocations: 84.05 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.7401, allocations: 0 / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002234/0.7403, allocations: 109.5 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.7404, allocations: 54.75 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.7405, allocations: 123.3 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.7405, allocations: 31.45 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.7405, allocations: 91.95 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.7406, allocations: 17.84 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.7407, allocations: 44.64 kB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.7407, allocations: 323.8 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.7408, allocations: 62.95 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.741, allocations: 94.89 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.7411, allocations: 162.6 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7411, allocations: 0 / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003649/0.7415, allocations: 263.5 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.7416, allocations: 69.16 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.7416, allocations: 0 / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7416, allocations: 4.031 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.975e-05/0.7416, allocations: 9.844 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.7416, allocations: 0 / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.7419, allocations: 54.27 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.742, allocations: 13.03 kB / 0.79 GB, free: 47.46 MB / 0.6544 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,xor1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.515e-05/0.742, allocations: 130.7 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.7421, allocations: 9.922 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.7421, allocations: 10.56 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7421, allocations: 3.125 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7421, allocations: 3.531 kB / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7421, allocations: 0 / 0.7902 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.7422, allocations: 179.1 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7422, allocations: 2.594 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-06/0.7422, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.7422, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7423, allocations: 8.484 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.7423, allocations: 2.469 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7423, allocations: 2.188 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.7424, allocations: 115 kB / 0.7905 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.7424, allocations: 80.14 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7425, allocations: 0.5 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.7425, allocations: 6.594 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.7425, allocations: 6.766 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.7426, allocations: 7.625 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.7426, allocations: 95.94 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7426, allocations: 0 / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000234/0.7429, allocations: 28.88 kB / 0.7907 GB, free: 46.91 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: 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 (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.0001528/0.743, allocations: 105 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.7434, allocations: 251.9 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7434, allocations: 0.5938 kB / 0.791 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.7434, allocations: 29.75 kB / 0.7911 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.7437, allocations: 15.86 kB / 0.7911 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.744, allocations: 160.1 kB / 0.7912 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.7442, allocations: 0.6876 MB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.7442, allocations: 8.594 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.7442, allocations: 15.2 kB / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.7442, allocations: 0 / 0.7919 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.004334/0.7486, allocations: 1.854 MB / 0.7937 GB, free: 45.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)