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.001593/0.001593, allocations: 101 kB / 16.27 MB, free: 6.414 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.001739/0.001739, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.533/1.533, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.75/1.75, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.00141/0.00141, allocations: 79.88 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 114.5 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002005/0.2527, allocations: 0.6673 MB / 0.7847 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2542, allocations: 1.18 MB / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.2542, allocations: 0 / 0.7858 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.2543, allocations: 7.922 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.134e-05/0.2544, allocations: 11.94 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.255, allocations: 221.7 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.2552, allocations: 175.8 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2553, allocations: 15.98 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.2554, allocations: 71.83 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.2555, allocations: 47.86 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.2556, allocations: 23.94 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.2557, allocations: 27.98 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.2557, allocations: 15.92 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.119e-05/0.2558, allocations: 59.83 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.256, allocations: 151.9 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.256, allocations: 0 / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.256, allocations: 0 / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.256, allocations: 0 / 0.7866 GB, free: 1.156 MB / 0.6544 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.0005581/0.2566, allocations: 430.8 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2566, allocations: 12.03 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.2567, allocations: 12.84 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2568, allocations: 168.4 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2569, allocations: 12.31 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.2569, allocations: 12.38 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.257, allocations: 46.23 kB / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2571, allocations: 192 / 0.7873 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2571, allocations: 7.938 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2571, allocations: 0 / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.2571, allocations: 19.98 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4451/0.7023, allocations: 359.5 kB / 0.7877 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.7024, allocations: 36.77 kB / 0.7877 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.7025, allocations: 18.03 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.7025, allocations: 2.031 kB / 0.7877 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.7028, allocations: 80.27 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.935e-06/0.7028, allocations: 0 / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000305/0.7031, allocations: 109.6 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7031, allocations: 56.77 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/0.7032, allocations: 123.3 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.7033, allocations: 30.67 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.7033, allocations: 90.7 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.7033, allocations: 14.61 kB / 0.7882 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.7034, allocations: 48.23 kB / 0.7883 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.7035, allocations: 324.4 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.7036, allocations: 57.95 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.7038, allocations: 97.86 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.7041, allocations: 157 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7041, allocations: 1.969 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005426/0.7046, allocations: 265.2 kB / 0.7891 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.7047, allocations: 67.66 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7047, allocations: 4.812 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7047, allocations: 3.938 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.7048, allocations: 13.28 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7048, allocations: 2.969 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.7052, allocations: 54.14 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.7052, allocations: 15.41 kB / 0.7893 GB, free: 47.73 MB / 0.6544 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 7.931e-05/0.7053, allocations: 125.2 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.7053, allocations: 7.031 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.7053, allocations: 15.03 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7054, allocations: 0.75 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7054, allocations: 0 / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7054, allocations: 0 / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.7055, allocations: 176.5 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7055, allocations: 3.188 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-06/0.7055, allocations: 0 / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.7055, allocations: 4.688 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7055, allocations: 5.656 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7055, allocations: 1.875 kB / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7056, allocations: 0 / 0.7896 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.7057, allocations: 117.1 kB / 0.7897 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.7057, allocations: 81.02 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.7057, allocations: 11.03 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.7058, allocations: 1.625 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.7058, allocations: 8.578 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.7058, allocations: 4.25 kB / 0.7898 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.7059, allocations: 92.48 kB / 0.7899 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7059, allocations: 0.5 kB / 0.7899 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002333/0.7061, allocations: 31.81 kB / 0.7899 GB, free: 47.18 MB / 0.6544 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.0001703/0.7063, allocations: 109.4 kB / 0.79 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.7066, allocations: 247.9 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7066, allocations: 0.625 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.7067, allocations: 30.94 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.707, allocations: 16.52 kB / 0.7903 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.7073, allocations: 185.5 kB / 0.7905 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.7074, allocations: 0.6893 MB / 0.7912 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.7075, allocations: 12.56 kB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of SimCode: time 1.322e-06/0.7075, allocations: 0.625 kB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.002951/0.7104, allocations: 1.397 MB / 0.7925 GB, free: 46.07 MB / 0.6544 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)