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.OnOffController.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.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001553/0.001553, allocations: 185.7 kB / 325.6 MB, free: 2.828 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.537/2.537, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.00116/0.00116, allocations: 100.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 15.38 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001685/0.215, allocations: 1.131 MB / 0.9 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004172/0.2154, allocations: 137.6 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2155, allocations: 4 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.2155, allocations: 0 / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.2156, allocations: 3.984 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2158, allocations: 19.92 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.2159, allocations: 27.91 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.216, allocations: 7.984 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.2161, allocations: 19.97 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.2161, allocations: 19.86 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2162, allocations: 4 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.2162, allocations: 4 kB / 0.9002 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2162, allocations: 3.984 kB / 0.9002 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.2162, allocations: 33.7 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.938e-05/0.2163, allocations: 23.94 kB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2163, allocations: 4 kB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2163, allocations: 0 / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2164, allocations: 0 / 0.9003 GB, free: 63.99 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.0007593/0.2171, allocations: 387.5 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2172, allocations: 8.031 kB / 0.9007 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.2172, allocations: 11.91 kB / 0.9007 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.691e-05/0.2173, allocations: 174.9 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2174, allocations: 4 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.2174, allocations: 0 / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2176, allocations: 65.67 kB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2177, allocations: 0 / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2177, allocations: 0 / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2177, allocations: 0 / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.218, allocations: 63.94 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2187, allocations: 308.7 kB / 0.9013 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.219, allocations: 50.55 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.2191, allocations: 4.062 kB / 0.9013 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.2191, allocations: 38.56 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.2191, allocations: 3.938 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005527/0.2197, allocations: 113.6 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.2197, allocations: 59.36 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.2198, allocations: 113.8 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2198, allocations: 25.7 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.2199, allocations: 92.02 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.22, allocations: 7.906 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.22, allocations: 0 / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.22, allocations: 318.8 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2202, allocations: 27.98 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2204, allocations: 27.97 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2205, allocations: 23.98 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2205, allocations: 7.938 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000348/0.2209, allocations: 85.66 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2209, allocations: 4 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2209, allocations: 0 / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.221, allocations: 0 / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2211, allocations: 15.98 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2211, allocations: 7.953 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2213, allocations: 19.89 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.2213, allocations: 0 / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.001e-05/0.2214, allocations: 117.8 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2215, allocations: 8.328 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.2218, allocations: 93.47 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2219, allocations: 0 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2219, allocations: 0 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2219, allocations: 7.953 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2221, allocations: 165.7 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2221, allocations: 4 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.2222, allocations: 15.98 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2222, allocations: 0 / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2222, allocations: 0 / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2222, allocations: 384 / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2223, allocations: 0 / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.2226, allocations: 187.3 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.2227, allocations: 89.09 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2227, allocations: 3.938 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.2229, allocations: 19.98 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.223, allocations: 7.984 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.223, allocations: 0 / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.2231, allocations: 91.27 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2231, allocations: 3.938 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003048/0.2234, allocations: 8 kB / 0.9031 GB, free: 60.83 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001337/0.2235, allocations: 103.2 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.2239, allocations: 59.95 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.224, allocations: 0 / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.2241, allocations: 35.91 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2244, allocations: 8 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.2248, allocations: 132.6 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2249, allocations: 0.6848 MB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.225, allocations: 8 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.2251, allocations: 11.44 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2251, allocations: 4 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.003317/0.2284, allocations: 0.6324 MB / 0.9047 GB, free: 59.11 MB / 0.6042 GB