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.446/1.446, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009507/0.0009509, allocations: 176.3 kB / 326.5 MB, free: 2.68 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.743/1.743, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008635/0.0008635, allocations: 88.61 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 12.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1998, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.00139/0.2012, allocations: 1.141 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004531/0.2017, allocations: 221 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.2018, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.2018, allocations: 3.938 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.2021, allocations: 19.91 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.2022, allocations: 19.98 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2023, allocations: 43.86 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.2024, allocations: 16.2 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.2025, allocations: 7.938 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.2025, allocations: 27.89 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.2026, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.2026, allocations: 4 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2026, allocations: 4 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.2026, allocations: 23.86 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.183e-05/0.2027, allocations: 35.88 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2027, allocations: 0 / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2027, allocations: 0 / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2027, allocations: 0 / 0.8983 GB, free: 66.58 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.0004122/0.2031, allocations: 359.3 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2032, allocations: 16.03 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.2032, allocations: 0.9375 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2033, allocations: 176.3 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2034, allocations: 4.375 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.2034, allocations: 8.312 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2036, allocations: 62.23 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2036, allocations: 4.188 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2036, allocations: 7.938 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2036, allocations: 0 / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2038, allocations: 55.88 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.2041, allocations: 292.9 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.2044, allocations: 78.42 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.791e-05/0.2045, allocations: 36.83 kB / 0.8993 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2046, allocations: 4 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.2046, allocations: 30.56 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2046, allocations: 0 / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003463/0.2049, allocations: 117.6 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.205, allocations: 55.34 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.205, allocations: 113.8 kB / 0.8997 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.205, allocations: 25.7 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/0.2051, allocations: 84.14 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.2051, allocations: 15.75 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.2051, allocations: 17.7 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.2052, allocations: 318.8 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.2053, allocations: 23.98 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.2053, allocations: 35.97 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.2055, allocations: 64.83 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2055, allocations: 3.938 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.2057, allocations: 105.5 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2058, allocations: 4 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2058, allocations: 0 / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2058, allocations: 0 / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.2059, allocations: 15.98 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2059, allocations: 0 / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.206, allocations: 11.98 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.206, allocations: 192 / 0.9003 GB, free: 64.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.206, allocations: 121.8 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.2061, allocations: 4 kB / 0.9005 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.2063, allocations: 101.4 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2063, allocations: 4 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2063, allocations: 8 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2063, allocations: 0 / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2065, allocations: 173.6 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2065, allocations: 4.312 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.2066, allocations: 15.98 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2066, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2066, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2066, allocations: 3.938 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2066, allocations: 0 / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.2069, allocations: 227.4 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.207, allocations: 85.08 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.207, allocations: 3.938 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.2071, allocations: 16.02 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2071, allocations: 0 / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.2071, allocations: 0 / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.744e-05/0.2072, allocations: 91.27 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2072, allocations: 0 / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001958/0.2074, allocations: 8 kB / 0.9012 GB, free: 63.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.2075, allocations: 103.2 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.2077, allocations: 64.23 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2077, allocations: 0 / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.2078, allocations: 39.91 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.2081, allocations: 7.938 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.2084, allocations: 186.1 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.408e-05/0.2085, allocations: 0.6888 MB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.2085, allocations: 7.438 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.2085, allocations: 0 / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.001995/0.2105, allocations: 0.7911 MB / 0.903 GB, free: 61.36 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)