Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.141/2.141, 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.001549/0.001549, allocations: 178.5 kB / 325.6 MB, free: 2.832 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.496/2.496, allocations: 205.4 MB / 0.5766 GB, free: 21.05 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.001114/0.001114, allocations: 102.8 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007354/0.000736, allocations: 15.47 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2063, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001862/0.2082, allocations: 1.277 MB / 0.9001 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005056/0.2087, allocations: 201.1 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.2088, allocations: 0 / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.2089, allocations: 3.938 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.209, allocations: 15.92 kB / 0.9003 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.2092, allocations: 23.95 kB / 0.9004 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2093, allocations: 71.86 kB / 0.9004 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2095, allocations: 41.02 kB / 0.9005 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2096, allocations: 35.84 kB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.2097, allocations: 35.78 kB / 0.9005 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.2097, allocations: 4 kB / 0.9005 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.2098, allocations: 4 kB / 0.9005 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.2098, allocations: 15.92 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.2098, allocations: 41.64 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.21, allocations: 95.77 kB / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.21, allocations: 0 / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/0.21, allocations: 0 / 0.9007 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.21, allocations: 0 / 0.9007 GB, free: 64.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001187/0.2112, allocations: 458.9 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2113, allocations: 12.03 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.2113, allocations: 15.8 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2115, allocations: 184.1 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2115, allocations: 8 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2115, allocations: 7.938 kB / 0.9013 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.2119, allocations: 95.62 kB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2119, allocations: 7.984 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2119, allocations: 4 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2119, allocations: 4 kB / 0.9015 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2122, allocations: 67.92 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.2133, allocations: 424.4 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.2135, allocations: 62.55 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2136, allocations: 4 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2136, allocations: 34.5 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.2136, allocations: 4 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005462/0.2142, allocations: 117.7 kB / 0.9021 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2142, allocations: 51.41 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2144, allocations: 159.2 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2144, allocations: 29.7 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.2145, allocations: 100.1 kB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.2145, allocations: 15.89 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.2145, allocations: 4 kB / 0.9025 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.276e-05/0.2146, allocations: 322.8 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2148, allocations: 35.86 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2149, allocations: 35.98 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.2151, allocations: 23.98 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2151, allocations: 7.891 kB / 0.9029 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003682/0.2155, allocations: 113.5 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2155, allocations: 4 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2156, allocations: 0 / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2156, allocations: 0 / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.2157, allocations: 11.98 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2158, allocations: 4 kB / 0.903 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.2161, allocations: 35.88 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2161, allocations: 0 / 0.903 GB, free: 61.44 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001093/0.2162, allocations: 123.3 kB / 0.9032 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.2163, allocations: 11.86 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.2163, allocations: 20.23 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2163, allocations: 0 / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2164, allocations: 8 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2164, allocations: 0 / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.2166, allocations: 193.6 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2166, allocations: 0 / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2167, allocations: 15.94 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2168, allocations: 0 / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.2168, allocations: 4 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2168, allocations: 0 / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.2168, allocations: 3.984 kB / 0.9034 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.2172, allocations: 191.7 kB / 0.9036 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.2173, allocations: 88.95 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.2173, allocations: 8.016 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.2176, allocations: 35.97 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.2177, allocations: 19.91 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.2178, allocations: 4 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.398e-05/0.2179, allocations: 113.1 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2179, allocations: 0 / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000326/0.2182, allocations: 19.91 kB / 0.9039 GB, free: 60.51 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001101/0.2183, allocations: 99.25 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.2187, allocations: 71.95 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2188, allocations: 3.938 kB / 0.904 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2189, allocations: 43.92 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.2193, allocations: 11.94 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.2198, allocations: 231.1 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.22, allocations: 0.6982 MB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.2201, allocations: 7.984 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.2202, allocations: 19.44 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.2202, allocations: 0 / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.004803/0.225, allocations: 1.068 MB / 0.9061 GB, free: 58.22 MB / 0.6042 GB