Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 186.5 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.5783 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.000925, allocations: 92.25 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 11.56 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1941, allocations: 106.3 MB / 0.9009 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001449/0.1956, allocations: 1.129 MB / 0.902 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.196, allocations: 217.5 kB / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.1961, allocations: 4 kB / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.1961, allocations: 0 / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1963, allocations: 3.938 kB / 0.9022 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.327e-05/0.1964, allocations: 23.91 kB / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1966, allocations: 35.92 kB / 0.9022 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.1967, allocations: 23.84 kB / 0.9023 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.1967, allocations: 15.94 kB / 0.9023 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.1968, allocations: 23.91 kB / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1968, allocations: 3.938 kB / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.1968, allocations: 4 kB / 0.9023 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1968, allocations: 4 kB / 0.9023 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.1969, allocations: 25.7 kB / 0.9023 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.1969, allocations: 35.92 kB / 0.9024 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1969, allocations: 0 / 0.9024 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.197, allocations: 0 / 0.9024 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.197, allocations: 0 / 0.9024 GB, free: 62.68 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.0004674/0.1974, allocations: 367.4 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1975, allocations: 12.02 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1975, allocations: 4 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1977, allocations: 178.9 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1977, allocations: 4 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1977, allocations: 4 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1979, allocations: 65.67 kB / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1979, allocations: 0 / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1979, allocations: 0 / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.198, allocations: 0 / 0.903 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.1982, allocations: 59.95 kB / 0.903 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1986, allocations: 280.8 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1988, allocations: 70.61 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.948e-05/0.199, allocations: 32.84 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.199, allocations: 0 / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.199, allocations: 34.55 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.199, allocations: 0 / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003734/0.1994, allocations: 121.5 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1994, allocations: 51.41 kB / 0.9036 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.1995, allocations: 125.7 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.1995, allocations: 25.7 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.1996, allocations: 96.06 kB / 0.9038 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.1996, allocations: 7.812 kB / 0.9038 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1996, allocations: 7.938 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.1996, allocations: 314.8 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.1997, allocations: 27.97 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.41e-05/0.1998, allocations: 35.98 kB / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1999, allocations: 28.11 kB / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2, allocations: 0 / 0.9042 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002149/0.2002, allocations: 105.6 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2002, allocations: 4 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2002, allocations: 0 / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2002, allocations: 7.984 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.2003, allocations: 12 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2003, allocations: 0 / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.2004, allocations: 19.84 kB / 0.9044 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2004, allocations: 4 kB / 0.9044 GB, free: 60.4 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 5.839e-05/0.2005, allocations: 109.8 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2005, allocations: 4 kB / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.2008, allocations: 105.7 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2008, allocations: 4 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2008, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2008, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2009, allocations: 173.6 kB / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2009, allocations: 0 / 0.9048 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.201, allocations: 15.98 kB / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.201, allocations: 0 / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.201, allocations: 0 / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.201, allocations: 8 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.201, allocations: 0 / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2014, allocations: 231.3 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.2014, allocations: 81.05 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2014, allocations: 0 / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.2015, allocations: 12.02 kB / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.2016, allocations: 0 / 0.9051 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2016, allocations: 4 kB / 0.9051 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.775e-05/0.2016, allocations: 91.58 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2016, allocations: 4.062 kB / 0.9052 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000195/0.2018, allocations: 15.91 kB / 0.9052 GB, free: 59.45 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.0001232/0.202, allocations: 103.2 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2022, allocations: 67.95 kB / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2022, allocations: 0 / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.2023, allocations: 31.97 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2026, allocations: 11.95 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.2029, allocations: 190.3 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.203, allocations: 0.6809 MB / 0.9062 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.203, allocations: 11.44 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.203, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.00191/0.205, allocations: 0.79 MB / 0.907 GB, free: 57.51 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)