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.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.765/1.765, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.71/1.71, allocations: 251.7 MB / 0.5092 GB, free: 3.039 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.001852/0.001852, allocations: 79.88 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7337, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.003164/0.7369, allocations: 1.427 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000555/0.7376, allocations: 227.1 kB / 0.7261 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.7376, allocations: 4 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.7377, allocations: 0 / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.7379, allocations: 11.86 kB / 0.7262 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.738, allocations: 23.91 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.7382, allocations: 55.84 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.7383, allocations: 16 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.7384, allocations: 15.92 kB / 0.7263 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.7385, allocations: 19.92 kB / 0.7263 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.7385, allocations: 4 kB / 0.7263 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.7385, allocations: 4 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.7385, allocations: 19.91 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.7386, allocations: 11.94 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.7387, allocations: 47.8 kB / 0.7264 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7387, allocations: 4 kB / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7387, allocations: 0 / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.7387, allocations: 0 / 0.7264 GB, free: 11.04 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.0006044/0.7394, allocations: 361.3 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7394, allocations: 12.03 kB / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.7394, allocations: 4.844 kB / 0.7267 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.7396, allocations: 176.3 kB / 0.7269 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.7397, allocations: 8.375 kB / 0.7269 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.7397, allocations: 384 / 0.7269 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.7399, allocations: 58.23 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7399, allocations: 192 / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.74, allocations: 3.938 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.74, allocations: 7.984 kB / 0.727 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.7402, allocations: 39.95 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.7406, allocations: 300.7 kB / 0.7273 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.7409, allocations: 62.55 kB / 0.7274 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.741, allocations: 28.83 kB / 0.7274 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.7411, allocations: 4 kB / 0.7274 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.7411, allocations: 34.56 kB / 0.7274 GB, free: 9.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.7411, allocations: 0 / 0.7274 GB, free: 9.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003942/0.7415, allocations: 101.6 kB / 0.7275 GB, free: 9.695 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7416, allocations: 55.39 kB / 0.7276 GB, free: 9.629 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.7416, allocations: 113.8 kB / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.7417, allocations: 29.7 kB / 0.7277 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.7417, allocations: 88.05 kB / 0.7278 GB, free: 9.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.7418, allocations: 15.81 kB / 0.7278 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.7418, allocations: 21.7 kB / 0.7278 GB, free: 9.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7419, allocations: 310.8 kB / 0.7281 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/0.742, allocations: 23.98 kB / 0.7281 GB, free: 9.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.7421, allocations: 27.97 kB / 0.7282 GB, free: 8.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.7423, allocations: 52.77 kB / 0.7282 GB, free: 8.922 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.7423, allocations: 7.938 kB / 0.7282 GB, free: 8.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002283/0.7426, allocations: 93.72 kB / 0.7283 GB, free: 8.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7426, allocations: 4 kB / 0.7283 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7426, allocations: 0 / 0.7283 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7426, allocations: 4 kB / 0.7283 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.7427, allocations: 15.98 kB / 0.7283 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7427, allocations: 0 / 0.7283 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.7428, allocations: 7.984 kB / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.7428, allocations: 0 / 0.7283 GB, free: 8.785 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.31e-05/0.7429, allocations: 117.8 kB / 0.7285 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.7429, allocations: 11.84 kB / 0.7285 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.7432, allocations: 89.55 kB / 0.7286 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7432, allocations: 0 / 0.7286 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7432, allocations: 0 / 0.7286 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7432, allocations: 0 / 0.7286 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.7434, allocations: 177.6 kB / 0.7287 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7434, allocations: 0 / 0.7287 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.7435, allocations: 11.98 kB / 0.7287 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7435, allocations: 0 / 0.7287 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7435, allocations: 0 / 0.7287 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7436, allocations: 0 / 0.7287 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.7436, allocations: 0 / 0.7287 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.7439, allocations: 219.3 kB / 0.7289 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.744, allocations: 81.05 kB / 0.729 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.744, allocations: 4.406 kB / 0.729 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.7441, allocations: 11.98 kB / 0.729 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.7442, allocations: 288 / 0.729 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.7442, allocations: 4.062 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.7442, allocations: 95.2 kB / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7442, allocations: 0 / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002127/0.7445, allocations: 8 kB / 0.7291 GB, free: 7.863 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.0001556/0.7446, allocations: 99.25 kB / 0.7292 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.7449, allocations: 59.89 kB / 0.7293 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7449, allocations: 4 kB / 0.7293 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.745, allocations: 31.95 kB / 0.7293 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.7453, allocations: 7.938 kB / 0.7293 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.7457, allocations: 162.7 kB / 0.7295 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.746, allocations: 0.6846 MB / 0.7302 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.7461, allocations: 3.938 kB / 0.7302 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.7461, allocations: 11.44 kB / 0.7302 GB, free: 6.746 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.7461, allocations: 0 / 0.7302 GB, free: 6.746 MB / 0.545 GB Notification: Performance of Templates: time 0.003493/0.7496, allocations: 0.6173 MB / 0.7308 GB, free: 6.137 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)