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.00153/0.001538, allocations: 104.8 kB / 15.99 MB, free: 6.355 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.001814/0.001814, allocations: 194.3 kB / 16.91 MB, free: 6.191 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.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.723/1.723, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001358/0.001358, allocations: 67.58 kB / 0.6717 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2941, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002218/0.2964, allocations: 0.724 MB / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2981, allocations: 1.192 MB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.2982, allocations: 4 kB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.2982, allocations: 3.984 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.2983, allocations: 7.938 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006396/0.299, allocations: 204.6 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.2992, allocations: 175.8 kB / 0.7858 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2993, allocations: 15.98 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2994, allocations: 71.83 kB / 0.7859 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2995, allocations: 51.86 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.2996, allocations: 16 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.2996, allocations: 27.98 kB / 0.786 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.2997, allocations: 15.92 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.866e-05/0.2998, allocations: 63.81 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.2999, allocations: 104 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3, allocations: 4 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3, allocations: 0 / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3, allocations: 0 / 0.7861 GB, free: 11.2 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.000627/0.3006, allocations: 438.6 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3007, allocations: 8.031 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.3007, allocations: 8.938 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3009, allocations: 172.3 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3009, allocations: 8.375 kB / 0.7867 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.3009, allocations: 8.375 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3011, allocations: 54.19 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3011, allocations: 192 / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3011, allocations: 11.92 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3011, allocations: 0 / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.3012, allocations: 12 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.3018, allocations: 352.8 kB / 0.7872 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.735e-05/0.3019, allocations: 42.44 kB / 0.7872 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.3019, allocations: 16.86 kB / 0.7872 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3019, allocations: 4 kB / 0.7872 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.3021, allocations: 79.45 kB / 0.7873 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.3022, allocations: 0 / 0.7873 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/0.3024, allocations: 113.5 kB / 0.7874 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3025, allocations: 51.41 kB / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3026, allocations: 125.8 kB / 0.7876 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3026, allocations: 33.69 kB / 0.7876 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.3027, allocations: 88.14 kB / 0.7877 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.3028, allocations: 15.81 kB / 0.7877 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.3028, allocations: 45.69 kB / 0.7878 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.303, allocations: 326.8 kB / 0.7881 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3031, allocations: 59.97 kB / 0.7881 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3033, allocations: 103.1 kB / 0.7882 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.3035, allocations: 159.6 kB / 0.7884 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3035, allocations: 0 / 0.7884 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004091/0.3039, allocations: 264.9 kB / 0.7886 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.304, allocations: 67.39 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.304, allocations: 4 kB / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.304, allocations: 0 / 0.7887 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.712e-05/0.304, allocations: 4 kB / 0.7887 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3041, allocations: 3.984 kB / 0.7887 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3044, allocations: 55.97 kB / 0.7888 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3045, allocations: 16.3 kB / 0.7888 GB, free: 8.195 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,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 0.0001149/0.3046, allocations: 132.6 kB / 0.7889 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.3046, allocations: 7.906 kB / 0.7889 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3046, allocations: 12.38 kB / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3047, allocations: 0 / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3047, allocations: 0 / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.3047, allocations: 0 / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3048, allocations: 185.6 kB / 0.7891 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3048, allocations: 4 kB / 0.7891 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.3049, allocations: 4 kB / 0.7891 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3049, allocations: 4 kB / 0.7891 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3049, allocations: 3.984 kB / 0.7891 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3049, allocations: 0 / 0.7891 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3049, allocations: 0 / 0.7891 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.305, allocations: 113 kB / 0.7892 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3051, allocations: 81.02 kB / 0.7893 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3051, allocations: 4 kB / 0.7893 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.3051, allocations: 7.938 kB / 0.7893 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.3052, allocations: 15.92 kB / 0.7893 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3052, allocations: 4 kB / 0.7893 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.3053, allocations: 91.27 kB / 0.7894 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3053, allocations: 0 / 0.7894 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.3055, allocations: 24 kB / 0.7894 GB, free: 7.422 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 (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.0001851/0.3057, allocations: 103.2 kB / 0.7895 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.3061, allocations: 262.5 kB / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3061, allocations: 0 / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.3062, allocations: 35.92 kB / 0.7898 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3064, allocations: 11.98 kB / 0.7898 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.3068, allocations: 192.7 kB / 0.79 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.307, allocations: 0.6951 MB / 0.7907 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3071, allocations: 11.44 kB / 0.7907 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3071, allocations: 0 / 0.7907 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.003231/0.3103, allocations: 1.396 MB / 0.7921 GB, free: 4.641 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)