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.001413/0.001413, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 190.1 kB / 16.62 MB, free: 6.613 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.814/1.814, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.907/1.907, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001448/0.001448, allocations: 69.55 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2946, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002924/0.2976, allocations: 0.662 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.2993, allocations: 1.191 MB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.2994, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.2995, allocations: 3.938 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.2996, allocations: 15.86 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.3003, allocations: 216.3 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3005, allocations: 179.8 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3007, allocations: 23.92 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3008, allocations: 63.89 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.301, allocations: 59.84 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.301, allocations: 16 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.3011, allocations: 31.92 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3012, allocations: 15.92 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.3013, allocations: 59.88 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3015, allocations: 151.5 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3015, allocations: 4 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3015, allocations: 4 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.3015, allocations: 0 / 0.7868 GB, free: 10.02 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.0006488/0.3022, allocations: 434.7 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3022, allocations: 12.03 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.3023, allocations: 4.938 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3025, allocations: 172.3 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3025, allocations: 8.359 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.3025, allocations: 8.375 kB / 0.7874 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3026, allocations: 58.19 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3027, allocations: 4.188 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3027, allocations: 3.938 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3027, allocations: 0 / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.3028, allocations: 15.98 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.3033, allocations: 352.8 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.281e-05/0.3034, allocations: 42.44 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.3034, allocations: 12.86 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.3035, allocations: 4 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.3037, allocations: 87.45 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3037, allocations: 3.938 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002784/0.304, allocations: 117.5 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.304, allocations: 51.41 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3042, allocations: 121.7 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3042, allocations: 33.7 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.3043, allocations: 92.12 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3043, allocations: 15.81 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.3044, allocations: 49.69 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3045, allocations: 322.8 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.3047, allocations: 59.97 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.3049, allocations: 92.25 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3051, allocations: 159.6 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3051, allocations: 0 / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000414/0.3055, allocations: 261 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.3056, allocations: 75.42 kB / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3056, allocations: 0 / 0.7893 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3056, allocations: 4 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.3056, allocations: 0 / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3056, allocations: 4 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.306, allocations: 55.84 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.306, allocations: 11.98 kB / 0.7894 GB, free: 7.016 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.0001098/0.3062, allocations: 129.7 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3062, allocations: 16.3 kB / 0.7895 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.3062, allocations: 8.375 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3062, allocations: 3.984 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3063, allocations: 0 / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3063, allocations: 4 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3064, allocations: 177.5 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3064, allocations: 0 / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.3064, allocations: 4 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3065, allocations: 4 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3065, allocations: 4 kB / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3065, allocations: 0 / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3065, allocations: 4 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.3066, allocations: 110 kB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3067, allocations: 85.02 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3067, allocations: 0 / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.3067, allocations: 3.984 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3068, allocations: 15.94 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3068, allocations: 8.062 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.3069, allocations: 91.27 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3069, allocations: 0 / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002309/0.3071, allocations: 28 kB / 0.79 GB, free: 6.238 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.0001901/0.3073, allocations: 111.2 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.3077, allocations: 250.8 kB / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3077, allocations: 0 / 0.7904 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.3077, allocations: 27.98 kB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.308, allocations: 16.92 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.3084, allocations: 158.6 kB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3087, allocations: 0.6914 MB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.3088, allocations: 11.84 kB / 0.7913 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.3088, allocations: 15.42 kB / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3088, allocations: 0 / 0.7913 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.004861/0.3137, allocations: 1.849 MB / 0.7931 GB, free: 3.055 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)