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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 191.3 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.662/1.662, allocations: 251.6 MB / 0.5088 GB, free: 3.391 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 67.67 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.835, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002887/0.838, allocations: 1.488 MB / 0.7253 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000458/0.8385, allocations: 220.2 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.8385, allocations: 0 / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.8386, allocations: 0 / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.8388, allocations: 7.938 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.8389, allocations: 19.97 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.8391, allocations: 59.78 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.8392, allocations: 4 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.8392, allocations: 19.92 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.8393, allocations: 19.91 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.8393, allocations: 4 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.8394, allocations: 0 / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.8394, allocations: 11.94 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.8394, allocations: 15.92 kB / 0.7256 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.8396, allocations: 47.8 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8396, allocations: 4 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8396, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8396, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 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.0005687/0.8402, allocations: 365.3 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8402, allocations: 8.031 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.8403, allocations: 8.844 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.8404, allocations: 172.3 kB / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8405, allocations: 12.38 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.8405, allocations: 4.375 kB / 0.7262 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.8407, allocations: 62.22 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.8407, allocations: 192 / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.8408, allocations: 3.938 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.8408, allocations: 0 / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.841, allocations: 39.97 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.8415, allocations: 288.7 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.8418, allocations: 74.47 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.965e-05/0.8419, allocations: 24.84 kB / 0.7267 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.8419, allocations: 8 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.8419, allocations: 30.56 kB / 0.7268 GB, free: 9.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.8419, allocations: 0 / 0.7268 GB, free: 9.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004228/0.8424, allocations: 105.5 kB / 0.7269 GB, free: 9.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.8424, allocations: 55.41 kB / 0.7269 GB, free: 9.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.8425, allocations: 109.8 kB / 0.727 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.8425, allocations: 29.7 kB / 0.727 GB, free: 9.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.8426, allocations: 96.03 kB / 0.7271 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.8426, allocations: 11.8 kB / 0.7271 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.8427, allocations: 17.72 kB / 0.7272 GB, free: 9.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8428, allocations: 318.8 kB / 0.7275 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.8429, allocations: 23.97 kB / 0.7275 GB, free: 9.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.843, allocations: 19.98 kB / 0.7275 GB, free: 9.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.8432, allocations: 64.75 kB / 0.7276 GB, free: 9.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8432, allocations: 3.938 kB / 0.7276 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002171/0.8434, allocations: 81.66 kB / 0.7276 GB, free: 9.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8434, allocations: 13.81 kB / 0.7277 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8435, allocations: 0 / 0.7277 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8435, allocations: 0 / 0.7277 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.8436, allocations: 15.98 kB / 0.7277 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.8436, allocations: 8 kB / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.8437, allocations: 4 kB / 0.7277 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.8437, allocations: 0 / 0.7277 GB, free: 8.965 MB / 0.545 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 8.334e-05/0.8438, allocations: 117.8 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.8438, allocations: 7.906 kB / 0.7278 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.844, allocations: 89.67 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8441, allocations: 4 kB / 0.7279 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8441, allocations: 8 kB / 0.7279 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8441, allocations: 0 / 0.7279 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.8443, allocations: 169.6 kB / 0.7281 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8443, allocations: 384 / 0.7281 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.8444, allocations: 11.98 kB / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8444, allocations: 0 / 0.7281 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.8444, allocations: 4 kB / 0.7281 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8444, allocations: 3.938 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.8444, allocations: 0 / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.8448, allocations: 215.3 kB / 0.7283 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.8448, allocations: 85.08 kB / 0.7284 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.8449, allocations: 0 / 0.7284 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.845, allocations: 7.984 kB / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.845, allocations: 0 / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.845, allocations: 8.062 kB / 0.7284 GB, free: 8.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.8451, allocations: 87.27 kB / 0.7285 GB, free: 8.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.8451, allocations: 4 kB / 0.7285 GB, free: 8.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002082/0.8453, allocations: 8 kB / 0.7285 GB, free: 8.043 MB / 0.545 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.0001758/0.8455, allocations: 103.2 kB / 0.7286 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.8457, allocations: 55.89 kB / 0.7286 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8457, allocations: 4 kB / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.8458, allocations: 27.97 kB / 0.7287 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.8462, allocations: 11.94 kB / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.8466, allocations: 163.5 kB / 0.7288 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.8469, allocations: 0.6848 MB / 0.7295 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.8469, allocations: 7.984 kB / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.8469, allocations: 7.438 kB / 0.7295 GB, free: 6.93 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.8469, allocations: 0 / 0.7295 GB, free: 6.93 MB / 0.545 GB Notification: Performance of Templates: time 0.002858/0.8498, allocations: 0.5383 MB / 0.73 GB, free: 6.395 MB / 0.545 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)