Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.456/2.456, 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.001492/0.001492, allocations: 179.9 kB / 325.6 MB, free: 2.84 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.564/2.564, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001151/0.001151, allocations: 85.48 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005112, allocations: 18.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001833/0.2276, allocations: 1.249 MB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000733/0.2284, allocations: 330 kB / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.2285, allocations: 0 / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2286, allocations: 7.922 kB / 0.9004 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.2287, allocations: 23.95 kB / 0.9005 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.2291, allocations: 67.8 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2292, allocations: 71.84 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.2294, allocations: 33.39 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.2295, allocations: 39.83 kB / 0.9007 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.2296, allocations: 51.81 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.2296, allocations: 4 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2297, allocations: 43.97 kB / 0.9008 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.2298, allocations: 27.91 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.2298, allocations: 41.58 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.23, allocations: 127.7 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.23, allocations: 4 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2301, allocations: 0 / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2301, allocations: 0 / 0.901 GB, free: 63.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001026/0.2311, allocations: 491 kB / 0.9014 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2312, allocations: 8.031 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.2312, allocations: 15.81 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.2315, allocations: 211.4 kB / 0.9016 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2315, allocations: 7.938 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.2315, allocations: 12 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.2324, allocations: 205.5 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2324, allocations: 0 / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.2324, allocations: 0 / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.2325, allocations: 15.98 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.2338, allocations: 259.7 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.2351, allocations: 476.5 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.2359, allocations: 174.5 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2359, allocations: 0 / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2359, allocations: 38.45 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.236, allocations: 0 / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002186/0.2382, allocations: 0.6245 MB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2382, allocations: 55.41 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2384, allocations: 149.7 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2384, allocations: 25.7 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.2385, allocations: 112.3 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.2385, allocations: 55.23 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.2386, allocations: 8 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.2386, allocations: 322.8 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.2393, allocations: 135.9 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.24, allocations: 142.3 kB / 0.9044 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.2406, allocations: 151.8 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2407, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001395/0.2421, allocations: 325.4 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2421, allocations: 9.203 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2421, allocations: 0 / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2422, allocations: 4 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.2426, allocations: 51.95 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2426, allocations: 3.938 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.2429, allocations: 59.78 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.243, allocations: 0 / 0.9049 GB, free: 59.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001243/0.2431, allocations: 133.8 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.2432, allocations: 11.81 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.2432, allocations: 20.72 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.2433, allocations: 12 kB / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2433, allocations: 0 / 0.9051 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2433, allocations: 3.984 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.2436, allocations: 221.6 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2437, allocations: 4 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.244, allocations: 47.95 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.244, allocations: 3.984 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.2441, allocations: 4 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2441, allocations: 3.953 kB / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2441, allocations: 0 / 0.9054 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2455, allocations: 437.4 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2456, allocations: 85.02 kB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2456, allocations: 3.984 kB / 0.9059 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.246, allocations: 39.95 kB / 0.9059 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2461, allocations: 23.88 kB / 0.9059 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2461, allocations: 4 kB / 0.9059 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.2462, allocations: 107.2 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2462, allocations: 0 / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003982/0.2466, allocations: 47.84 kB / 0.9061 GB, free: 57.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: 0 () * 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: 2 * 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.000228/0.2469, allocations: 119.2 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.2483, allocations: 307.8 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2484, allocations: 0 / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006952/0.2491, allocations: 167.8 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.2495, allocations: 18 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.2502, allocations: 362 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2504, allocations: 0.7215 MB / 0.9077 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000137/0.2505, allocations: 15.97 kB / 0.9077 GB, free: 56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.2506, allocations: 15.44 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/0.2506, allocations: 0 / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.005769/0.2564, allocations: 1.516 MB / 0.9092 GB, free: 54.48 MB / 0.6042 GB