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.001848/0.001848, allocations: 108 kB / 15.6 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.002168/0.002168, allocations: 196.1 kB / 16.53 MB, free: 6.672 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.72/1.72, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.791/1.791, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001434/0.001434, allocations: 73.27 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3442, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002178/0.3464, allocations: 0.673 MB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.348, allocations: 1.188 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.3481, allocations: 0 / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.3481, allocations: 7.922 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.3482, allocations: 7.875 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.3489, allocations: 219.1 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.3491, allocations: 179.8 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3492, allocations: 15.98 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.3493, allocations: 63.89 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3494, allocations: 51.86 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.3495, allocations: 16 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.3496, allocations: 31.92 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.3496, allocations: 11.94 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.3497, allocations: 59.88 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.35, allocations: 159.8 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.35, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.35, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.35, allocations: 0 / 0.786 GB, free: 10.77 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.000596/0.3506, allocations: 434.7 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3507, allocations: 12.03 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.3507, allocations: 8.938 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3509, allocations: 172.3 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3509, allocations: 8.375 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3509, allocations: 12.38 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3511, allocations: 50.23 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3511, allocations: 4.125 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3511, allocations: 3.938 kB / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3511, allocations: 0 / 0.7867 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.3512, allocations: 23.98 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.3517, allocations: 348.8 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.3518, allocations: 42.52 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.3518, allocations: 24.81 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.3518, allocations: 4 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.352, allocations: 75.38 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.352, allocations: 0 / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002476/0.3523, allocations: 105.6 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3523, allocations: 67.33 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.3524, allocations: 117.8 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.3525, allocations: 33.64 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.3525, allocations: 92.14 kB / 0.7875 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3526, allocations: 11.8 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.3527, allocations: 53.69 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3528, allocations: 314.8 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.353, allocations: 63.95 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3531, allocations: 98.89 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.3533, allocations: 155.6 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3533, allocations: 4 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000492/0.3538, allocations: 261.4 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.411e-05/0.3539, allocations: 67.39 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3539, allocations: 0 / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.354, allocations: 4 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.889e-05/0.354, allocations: 7.875 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.354, allocations: 4 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.3544, allocations: 55.97 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.3545, allocations: 15.98 kB / 0.7886 GB, free: 7.762 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.0001984/0.3547, allocations: 128.6 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.3547, allocations: 11.89 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.3547, allocations: 8.375 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3548, allocations: 0 / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3548, allocations: 7.984 kB / 0.7888 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3548, allocations: 4 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.355, allocations: 181.6 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.355, allocations: 0 / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.355, allocations: 8 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.355, allocations: 0 / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.355, allocations: 0 / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.355, allocations: 4 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.355, allocations: 0 / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3552, allocations: 114.1 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.3553, allocations: 81.02 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3553, allocations: 0 / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.529e-05/0.3553, allocations: 11.98 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.3554, allocations: 4 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3554, allocations: 3.938 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.433e-05/0.3555, allocations: 91.27 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 3.938 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002429/0.3557, allocations: 32 kB / 0.7893 GB, free: 6.988 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.0002554/0.356, allocations: 107.2 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.3564, allocations: 254.6 kB / 0.7896 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3564, allocations: 0 / 0.7896 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.3565, allocations: 28.27 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3568, allocations: 20.86 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.3573, allocations: 158.9 kB / 0.7898 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3576, allocations: 0.6914 MB / 0.7905 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3577, allocations: 7.984 kB / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3577, allocations: 15.44 kB / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3577, allocations: 0 / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.005804/0.3635, allocations: 1.856 MB / 0.7923 GB, free: 3.797 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)