Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 288.3 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 183.8 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001007, allocations: 107.8 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004908, allocations: 21.27 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009332/0.3042, allocations: 389 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3057, allocations: 1.124 MB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.3058, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.3059, allocations: 3.938 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.306, allocations: 15.97 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.3067, allocations: 199.2 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3069, allocations: 79.89 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.307, allocations: 11.98 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3072, allocations: 55.89 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3073, allocations: 51.86 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.3073, allocations: 8 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.3074, allocations: 23.98 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.3075, allocations: 4 kB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.3075, allocations: 41.64 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3077, allocations: 104 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3077, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3077, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3077, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 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.0005452/0.3083, allocations: 406.7 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3083, allocations: 12.02 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.3084, allocations: 15.91 kB / 0.9819 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3085, allocations: 182.9 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.3086, allocations: 8 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3086, allocations: 8 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3088, allocations: 57.61 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3088, allocations: 0 / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3088, allocations: 0 / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3088, allocations: 0 / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.3089, allocations: 12 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.3094, allocations: 368.5 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.822e-05/0.3095, allocations: 38.5 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3095, allocations: 0 / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.3097, allocations: 79.45 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.3098, allocations: 0 / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002549/0.31, allocations: 117.5 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3101, allocations: 51.41 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.3102, allocations: 114 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3102, allocations: 29.7 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.3103, allocations: 96.31 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.3103, allocations: 11.81 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.3103, allocations: 4 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.3104, allocations: 318.8 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3105, allocations: 67.95 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.3106, allocations: 88.27 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3108, allocations: 119.3 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3108, allocations: 480 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003557/0.3111, allocations: 268.7 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.3112, allocations: 63.41 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3112, allocations: 4 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3112, allocations: 3.984 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-05/0.3113, allocations: 4 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3113, allocations: 0 / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004069/0.3117, allocations: 72.06 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3117, allocations: 15.98 kB / 0.984 GB, free: 22.69 MB / 0.6198 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 9.267e-05/0.3118, allocations: 129.7 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.3118, allocations: 11.91 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.3119, allocations: 12.36 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3119, allocations: 4 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3119, allocations: 0 / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3119, allocations: 0 / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.312, allocations: 177.6 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.312, allocations: 0 / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.3121, allocations: 3.984 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3121, allocations: 3.938 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3121, allocations: 4 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3121, allocations: 4 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3121, allocations: 64 / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3122, allocations: 117 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.3123, allocations: 81.02 kB / 0.9845 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3123, allocations: 7.938 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.3123, allocations: 4 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.3124, allocations: 7.984 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3124, allocations: 3.984 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.3124, allocations: 91.28 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3125, allocations: 0 / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002395/0.3127, allocations: 32 kB / 0.9847 GB, free: 21.92 MB / 0.6198 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.0001844/0.3129, allocations: 107.2 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.3132, allocations: 246.7 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3132, allocations: 288 / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.3133, allocations: 32.23 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.3135, allocations: 20.58 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.3139, allocations: 167.5 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.314, allocations: 0.6926 MB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.209e-05/0.3141, allocations: 4 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.3141, allocations: 11.44 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3141, allocations: 0 / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.004725/0.3189, allocations: 1.701 MB / 0.9876 GB, free: 18.89 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)