Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.786/2.786, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 183.1 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.493/2.493, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 93.16 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005004, allocations: 11.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2295, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001674/0.2312, allocations: 1.083 MB / 0.9 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.2317, allocations: 189.6 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.2318, allocations: 0 / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.2318, allocations: 7.938 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2319, allocations: 15.97 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.2321, allocations: 19.91 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.581e-05/0.2322, allocations: 39.89 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2323, allocations: 4 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.2324, allocations: 15.98 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.2324, allocations: 23.84 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2325, allocations: 4 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.2325, allocations: 4 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.2325, allocations: 8 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2326, allocations: 33.69 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.597e-05/0.2327, allocations: 43.84 kB / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2327, allocations: 0 / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2327, allocations: 0 / 0.9003 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.2327, allocations: 0 / 0.9003 GB, free: 63.95 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.0005955/0.2333, allocations: 379.3 kB / 0.9007 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2334, allocations: 8.031 kB / 0.9007 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.2334, allocations: 4 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2335, allocations: 178.9 kB / 0.9009 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2336, allocations: 0 / 0.9009 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2336, allocations: 4 kB / 0.9009 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2337, allocations: 53.67 kB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2338, allocations: 0 / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2338, allocations: 0 / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2338, allocations: 4 kB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.2339, allocations: 27.92 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.2344, allocations: 284.8 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2345, allocations: 46.56 kB / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.2345, allocations: 0 / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.2347, allocations: 75.45 kB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.2348, allocations: 0 / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002717/0.235, allocations: 93.52 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.2351, allocations: 55.36 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.2352, allocations: 113.8 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2352, allocations: 29.7 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.2353, allocations: 88.2 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.2353, allocations: 15.81 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.2353, allocations: 4 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.2354, allocations: 314.8 kB / 0.902 GB, free: 62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.2354, allocations: 16 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.2355, allocations: 38.5 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.2356, allocations: 12 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2356, allocations: 0 / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001592/0.2357, allocations: 86.16 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2358, allocations: 4 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2358, allocations: 4 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2358, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.2359, allocations: 12.17 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2359, allocations: 80 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.2361, allocations: 31.81 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2361, allocations: 12.05 kB / 0.9023 GB, free: 61.77 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 8.161e-05/0.2362, allocations: 117.8 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.2362, allocations: 3.906 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.2363, allocations: 12.38 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2363, allocations: 0 / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2363, allocations: 0 / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2363, allocations: 3.984 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.2365, allocations: 181.6 kB / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2365, allocations: 0 / 0.9026 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.2365, allocations: 7.984 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2365, allocations: 4 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2365, allocations: 0 / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2365, allocations: 0 / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2365, allocations: 0 / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2367, allocations: 97.02 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.2368, allocations: 89 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2368, allocations: 7.938 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2369, allocations: 15.98 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.237, allocations: 11.98 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.237, allocations: 7.984 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.2371, allocations: 91.27 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2371, allocations: 0 / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002644/0.2374, allocations: 12 kB / 0.9029 GB, free: 61.03 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.0001165/0.2375, allocations: 99.25 kB / 0.903 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.2377, allocations: 47.92 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2377, allocations: 0 / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.2378, allocations: 31.97 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2381, allocations: 16.73 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.2385, allocations: 170.8 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2387, allocations: 0.6887 MB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.2387, allocations: 7.859 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.2388, allocations: 15.42 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/0.2388, allocations: 0 / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.00367/0.2425, allocations: 0.765 MB / 0.9047 GB, free: 59.14 MB / 0.6042 GB