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.001041/0.001041, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001145/0.001145, allocations: 177.3 kB / 15.95 MB, free: 216 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.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.721/1.721, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005327/0.0005328, allocations: 16.31 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.273, allocations: 116.3 MB / 0.7871 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009053/0.2739, allocations: 396.8 kB / 0.7875 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2754, allocations: 1.124 MB / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.2754, allocations: 0 / 0.7886 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.2754, allocations: 11.92 kB / 0.7886 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.2755, allocations: 15.97 kB / 0.7886 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.2761, allocations: 190.3 kB / 0.7888 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2762, allocations: 87.81 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.2763, allocations: 4 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.2764, allocations: 67.88 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.2765, allocations: 47.88 kB / 0.789 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2765, allocations: 8 kB / 0.789 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.2766, allocations: 15.98 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.2766, allocations: 11.98 kB / 0.789 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.2767, allocations: 41.64 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2768, allocations: 108 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.2768, allocations: 0 / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2769, allocations: 0 / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2769, allocations: 0 / 0.7892 GB, free: 9.793 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.000464/0.2773, allocations: 406.7 kB / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2774, allocations: 8.031 kB / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.2774, allocations: 11.91 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2775, allocations: 171 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2776, allocations: 8 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.2776, allocations: 11.98 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2777, allocations: 49.69 kB / 0.7898 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2777, allocations: 3.984 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2778, allocations: 11.88 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2778, allocations: 0 / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.2778, allocations: 19.98 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.2783, allocations: 364.5 kB / 0.7902 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.2784, allocations: 34.56 kB / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.2784, allocations: 0 / 0.7902 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.2787, allocations: 83.41 kB / 0.7903 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2787, allocations: 0 / 0.7903 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002397/0.2789, allocations: 113.5 kB / 0.7904 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.279, allocations: 51.41 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.2791, allocations: 122 kB / 0.7906 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2791, allocations: 29.7 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.2792, allocations: 88.33 kB / 0.7907 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.2792, allocations: 15.81 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.2792, allocations: 4 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2793, allocations: 326.8 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.2795, allocations: 59.97 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2796, allocations: 92.25 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.2797, allocations: 107.4 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2797, allocations: 8 kB / 0.7913 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003806/0.2801, allocations: 261.3 kB / 0.7915 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.2802, allocations: 70.2 kB / 0.7916 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2802, allocations: 4 kB / 0.7916 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2802, allocations: 0 / 0.7916 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.257e-05/0.2803, allocations: 11.88 kB / 0.7916 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2803, allocations: 0 / 0.7916 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.2806, allocations: 76.05 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.2807, allocations: 12 kB / 0.7917 GB, free: 6.93 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 0.0001082/0.2808, allocations: 133.7 kB / 0.7918 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.2808, allocations: 7.906 kB / 0.7918 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.2809, allocations: 8.375 kB / 0.7918 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2809, allocations: 4 kB / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2809, allocations: 0 / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2809, allocations: 0 / 0.7918 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.281, allocations: 181.6 kB / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.281, allocations: 0 / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-06/0.2811, allocations: 3.938 kB / 0.792 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2811, allocations: 7.938 kB / 0.792 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2811, allocations: 4 kB / 0.792 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2811, allocations: 0 / 0.792 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2811, allocations: 0 / 0.792 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.2812, allocations: 113 kB / 0.7921 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.2813, allocations: 85 kB / 0.7922 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.2813, allocations: 0 / 0.7922 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.2813, allocations: 4 kB / 0.7922 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.2814, allocations: 16.05 kB / 0.7922 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.2814, allocations: 4 kB / 0.7922 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.2814, allocations: 95.2 kB / 0.7923 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2814, allocations: 0 / 0.7923 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002267/0.2817, allocations: 36 kB / 0.7924 GB, free: 6.145 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.000159/0.2818, allocations: 99.25 kB / 0.7925 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.2822, allocations: 246.9 kB / 0.7927 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2822, allocations: 4.062 kB / 0.7927 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.2822, allocations: 31.98 kB / 0.7927 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.2824, allocations: 19.17 kB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.2828, allocations: 171.3 kB / 0.7929 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.283, allocations: 0.6926 MB / 0.7936 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.2831, allocations: 7.938 kB / 0.7936 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.2831, allocations: 11.44 kB / 0.7936 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2831, allocations: 0 / 0.7936 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.00405/0.2872, allocations: 1.691 MB / 0.7953 GB, free: 3.121 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: