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.001132/0.001132, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008341/0.008341, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.728/1.728, allocations: 205.4 MB / 222.4 MB, free: 5.809 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.963/1.963, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005254/0.0005254, allocations: 14.81 kB / 0.6743 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2675, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00104/0.2686, allocations: 406.3 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2705, allocations: 1.2 MB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.2706, allocations: 4 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.2706, allocations: 3.938 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.2707, allocations: 7.922 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.2714, allocations: 206.1 kB / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.2716, allocations: 147.8 kB / 0.7898 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2717, allocations: 15.98 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2719, allocations: 55.89 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.272, allocations: 51.86 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.2721, allocations: 8 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.716e-05/0.2722, allocations: 19.98 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.2722, allocations: 15.86 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2723, allocations: 77.58 kB / 0.79 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2725, allocations: 143.8 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2725, allocations: 4 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2725, allocations: 0 / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2726, allocations: 0 / 0.7902 GB, free: 9.195 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.0004965/0.2731, allocations: 402.8 kB / 0.7906 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2731, allocations: 12.03 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.2732, allocations: 16.84 kB / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2733, allocations: 164.3 kB / 0.7908 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.2734, allocations: 4.375 kB / 0.7908 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.2734, allocations: 12.38 kB / 0.7908 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2736, allocations: 50.23 kB / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2736, allocations: 192 / 0.7908 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.2736, allocations: 7.922 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.2736, allocations: 8 kB / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.2737, allocations: 19.92 kB / 0.7908 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.2742, allocations: 352.7 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.2743, allocations: 38.52 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.2744, allocations: 20.94 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2744, allocations: 4 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.2746, allocations: 79.31 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.2746, allocations: 3.938 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002825/0.2749, allocations: 101.6 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.275, allocations: 55.39 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2751, allocations: 121.8 kB / 0.7916 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.2751, allocations: 37.64 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.2752, allocations: 100 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2752, allocations: 11.89 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.2753, allocations: 21.72 kB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2754, allocations: 326.8 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.2756, allocations: 63.97 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.2757, allocations: 88.25 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2759, allocations: 159.5 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2759, allocations: 4 kB / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004112/0.2763, allocations: 256.9 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.269e-05/0.2764, allocations: 70.2 kB / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.2764, allocations: 8.594 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2764, allocations: 0 / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.363e-05/0.2765, allocations: 7.938 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2765, allocations: 3.984 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.2769, allocations: 79.84 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.2769, allocations: 15.92 kB / 0.7928 GB, free: 6.219 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.0001174/0.2771, allocations: 126.4 kB / 0.7929 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.2771, allocations: 4 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.2771, allocations: 8.375 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2771, allocations: 8 kB / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2771, allocations: 0 / 0.7929 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2772, allocations: 3.984 kB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2773, allocations: 185.5 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2773, allocations: 0 / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.2773, allocations: 3.938 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2773, allocations: 0 / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2774, allocations: 12.05 kB / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2774, allocations: 0 / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2774, allocations: 0 / 0.7931 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.2775, allocations: 113 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.2776, allocations: 81.02 kB / 0.7933 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2776, allocations: 0 / 0.7933 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.2776, allocations: 4 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.2777, allocations: 11.98 kB / 0.7933 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2777, allocations: 3.938 kB / 0.7933 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.2777, allocations: 91.27 kB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2777, allocations: 0 / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002703/0.278, allocations: 28 kB / 0.7934 GB, free: 5.453 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.0001633/0.2782, allocations: 111.2 kB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.2785, allocations: 246.6 kB / 0.7938 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2786, allocations: 0 / 0.7938 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.2786, allocations: 27.98 kB / 0.7938 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2789, allocations: 19.19 kB / 0.7938 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.2792, allocations: 179.3 kB / 0.794 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2795, allocations: 0.6848 MB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.2795, allocations: 4.281 kB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.2795, allocations: 11.44 kB / 0.7947 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of SimCode: time 1.793e-06/0.2795, allocations: 4 kB / 0.7947 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of Templates: time 0.004749/0.2843, allocations: 1.771 MB / 0.7964 GB, free: 2.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: