Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 191 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.5783 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008139/0.000814, allocations: 97.84 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 12.5 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 106.3 MB / 0.9008 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001468/0.2132, allocations: 1.091 MB / 0.9019 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.2137, allocations: 201.6 kB / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.2137, allocations: 0 / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.2138, allocations: 3.938 kB / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.2139, allocations: 19.84 kB / 0.9021 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.214, allocations: 7.984 kB / 0.9021 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.2141, allocations: 51.86 kB / 0.9022 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.2142, allocations: 11.98 kB / 0.9022 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.2143, allocations: 19.88 kB / 0.9022 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.2143, allocations: 27.91 kB / 0.9022 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2144, allocations: 0 / 0.9022 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.2144, allocations: 4 kB / 0.9022 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.2144, allocations: 7.984 kB / 0.9022 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.2145, allocations: 33.64 kB / 0.9023 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.676e-05/0.2145, allocations: 35.91 kB / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2145, allocations: 0 / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2145, allocations: 3.938 kB / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2146, allocations: 0 / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004698/0.215, allocations: 375.4 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2151, allocations: 8.031 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.2151, allocations: 4 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.98e-05/0.2152, allocations: 178.9 kB / 0.9029 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2153, allocations: 7.984 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.2153, allocations: 0 / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.2154, allocations: 53.69 kB / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2154, allocations: 0 / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2154, allocations: 0 / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2154, allocations: 0 / 0.9029 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.583e-05/0.2155, allocations: 31.92 kB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.2158, allocations: 280.8 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.2159, allocations: 50.56 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.216, allocations: 16.98 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.216, allocations: 0 / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.2162, allocations: 75.31 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2162, allocations: 0 / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000194/0.2164, allocations: 85.59 kB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.2164, allocations: 55.41 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.2165, allocations: 125.9 kB / 0.9036 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2165, allocations: 25.7 kB / 0.9036 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.2165, allocations: 88.12 kB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2166, allocations: 15.81 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.2166, allocations: 3.938 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.2166, allocations: 318.8 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.2167, allocations: 12 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.2167, allocations: 42.5 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.2168, allocations: 16 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2168, allocations: 0 / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.636e-05/0.2169, allocations: 78.16 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2169, allocations: 8 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2169, allocations: 3.938 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2169, allocations: 0 / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.217, allocations: 11.94 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.217, allocations: 8.047 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.2171, allocations: 23.89 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2171, allocations: 7.984 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.846e-05/0.2172, allocations: 118.5 kB / 0.9044 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2172, allocations: 7.906 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2172, allocations: 8.375 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2172, allocations: 0 / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2172, allocations: 4 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2172, allocations: 0 / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2173, allocations: 181.6 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2173, allocations: 0 / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-06/0.2174, allocations: 4 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2174, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2174, allocations: 4 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2174, allocations: 3.984 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2174, allocations: 80 / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.2175, allocations: 112.9 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2175, allocations: 77.11 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2175, allocations: 0 / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.2176, allocations: 15.98 kB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2177, allocations: 15.97 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2177, allocations: 4 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.2177, allocations: 87.27 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2177, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001848/0.2179, allocations: 20 kB / 0.9049 GB, free: 59.75 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001087/0.218, allocations: 98.38 kB / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.2182, allocations: 51.91 kB / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2182, allocations: 0 / 0.905 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.2182, allocations: 27.92 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.2184, allocations: 29.59 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.2187, allocations: 196.1 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.2188, allocations: 0.6874 MB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.2189, allocations: 15.42 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2189, allocations: 0 / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.00189/0.2208, allocations: 0.9178 MB / 0.9068 GB, free: 57.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)