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.Derivative.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.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.463/2.463, 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.001568/0.001567, allocations: 182.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.455/2.455, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001165/0.001165, allocations: 93.67 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005071, allocations: 14.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2322, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001705/0.2339, allocations: 1.128 MB / 0.9 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005247/0.2345, allocations: 209.4 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.2346, allocations: 4 kB / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.2346, allocations: 0 / 0.9002 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.2349, allocations: 11.91 kB / 0.9002 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.235, allocations: 19.98 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2351, allocations: 27.97 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.2352, allocations: 11.98 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.2353, allocations: 19.92 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.2354, allocations: 11.92 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2354, allocations: 3.938 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.2355, allocations: 4 kB / 0.9003 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.2355, allocations: 11.92 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.2355, allocations: 37.7 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.2356, allocations: 27.92 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2356, allocations: 3.938 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2356, allocations: 4 kB / 0.9004 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2356, allocations: 0 / 0.9004 GB, free: 63.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005597/0.2362, allocations: 359.4 kB / 0.9007 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2363, allocations: 12.03 kB / 0.9007 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.2363, allocations: 8 kB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2365, allocations: 182.9 kB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2365, allocations: 0 / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.2365, allocations: 4 kB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.2368, allocations: 65.66 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2368, allocations: 0 / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2368, allocations: 0 / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2368, allocations: 8 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.2371, allocations: 55.94 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.2376, allocations: 292.8 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.238, allocations: 58.61 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2381, allocations: 4 kB / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2381, allocations: 30.56 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.2381, allocations: 4 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000563/0.2387, allocations: 121.6 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.2387, allocations: 55.39 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.476e-05/0.2388, allocations: 117.8 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2388, allocations: 25.7 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/0.2389, allocations: 88.45 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.2389, allocations: 15.81 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2389, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.239, allocations: 314.8 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.2392, allocations: 39.92 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.2393, allocations: 27.97 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2395, allocations: 27.98 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2395, allocations: 0 / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003736/0.2399, allocations: 105.6 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.24, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.24, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.24, allocations: 3.938 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2402, allocations: 15.98 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2402, allocations: 0 / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2403, allocations: 19.86 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.2403, allocations: 0 / 0.9024 GB, free: 61.66 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 (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 prepare postOptimizeDAE: time 7.431e-05/0.2404, allocations: 117.8 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.2404, allocations: 4 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.2408, allocations: 101.5 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2409, allocations: 0 / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2409, allocations: 4 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2409, allocations: 0 / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.2411, allocations: 173.6 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2411, allocations: 192 / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2413, allocations: 19.98 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2413, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2413, allocations: 4 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2413, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2413, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.2419, allocations: 239.3 kB / 0.903 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.2419, allocations: 81.05 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.242, allocations: 0 / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2421, allocations: 11.98 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.2422, allocations: 4 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.2422, allocations: 3.984 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.2422, allocations: 91.34 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2423, allocations: 0 / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003026/0.2426, allocations: 8.281 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (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 Backend phase and start with SimCode phase: time 0.0001307/0.2427, allocations: 95.25 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.2431, allocations: 63.95 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2431, allocations: 7.938 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2433, allocations: 40.19 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2436, allocations: 9.203 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.244, allocations: 168.5 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2442, allocations: 0.6888 MB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2442, allocations: 8.234 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.2443, allocations: 7.438 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/0.2443, allocations: 0 / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.003201/0.2475, allocations: 0.5085 MB / 0.9047 GB, free: 59.07 MB / 0.6042 GB