Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.786/1.786, allocations: 287.5 MB / 302.6 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 173.2 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 85.28 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.000487, allocations: 13.45 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00132/0.2736, allocations: 394.4 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.2763, allocations: 1.161 MB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.2764, allocations: 0 / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.2765, allocations: 11.86 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.2767, allocations: 3.938 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2778, allocations: 191.9 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2781, allocations: 135.7 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2782, allocations: 15.97 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.2784, allocations: 55.91 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.2786, allocations: 47.84 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.2787, allocations: 8 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.2788, allocations: 31.92 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.2789, allocations: 4 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.279, allocations: 41.7 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2792, allocations: 108 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2792, allocations: 0 / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2793, allocations: 0 / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2793, allocations: 0 / 0.9808 GB, free: 25.97 MB / 0.6198 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.0005755/0.2799, allocations: 406.8 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.2799, allocations: 8.031 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.2801, allocations: 12.84 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2802, allocations: 172.3 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.2802, allocations: 12.31 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.2803, allocations: 8.375 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.2805, allocations: 50.23 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2805, allocations: 192 / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.2806, allocations: 7.938 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2806, allocations: 0 / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.2807, allocations: 12 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/0.2814, allocations: 364.6 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.2815, allocations: 38.52 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.2816, allocations: 20.94 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2816, allocations: 3.984 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.2818, allocations: 83.3 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.739e-06/0.2819, allocations: 4 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.2823, allocations: 105.5 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2823, allocations: 51.41 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2824, allocations: 117.8 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.2825, allocations: 33.7 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.2826, allocations: 96.05 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2826, allocations: 7.891 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.2827, allocations: 8 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.2828, allocations: 322.8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.283, allocations: 59.97 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.2833, allocations: 102.1 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2836, allocations: 156.1 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2836, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006547/0.2843, allocations: 264.7 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.2844, allocations: 71.39 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2844, allocations: 0 / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2844, allocations: 0 / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.2845, allocations: 12.05 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2845, allocations: 0 / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.2852, allocations: 75.97 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.2852, allocations: 23.92 kB / 0.9834 GB, free: 23.02 MB / 0.6198 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 0.0001285/0.2854, allocations: 135.4 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.2854, allocations: 0 / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.2855, allocations: 12.38 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2855, allocations: 0 / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2855, allocations: 3.984 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2855, allocations: 0 / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2857, allocations: 173.6 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2857, allocations: 0 / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.2857, allocations: 4 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2858, allocations: 7.984 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2858, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2858, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2858, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.2861, allocations: 121.2 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.2861, allocations: 84.95 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.2862, allocations: 8 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.2862, allocations: 4 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.2863, allocations: 7.984 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2863, allocations: 4 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.2864, allocations: 87.27 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2864, allocations: 288 / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004279/0.2868, allocations: 32 kB / 0.9841 GB, free: 22.26 MB / 0.6198 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.0002027/0.2871, allocations: 103.2 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.2876, allocations: 254.8 kB / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2876, allocations: 4 kB / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/0.2877, allocations: 31.92 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.288, allocations: 15.98 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.2885, allocations: 163.7 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2886, allocations: 0.6848 MB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.2887, allocations: 7.984 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.2887, allocations: 11.44 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2888, allocations: 0 / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.006257/0.295, allocations: 1.716 MB / 0.987 GB, free: 19.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)