Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.0009545/0.0009547, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006875/0.006875, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 9.625 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001809/0.3353, allocations: 1.153 MB / 1.075 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000565/0.3359, allocations: 211.5 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.336, allocations: 0 / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.336, allocations: 11.86 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3362, allocations: 7.938 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.3363, allocations: 19.97 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.3365, allocations: 47.86 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.3365, allocations: 11.98 kB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.3366, allocations: 15.94 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.3367, allocations: 19.91 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3367, allocations: 4 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.3367, allocations: 0 / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.3367, allocations: 7.938 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.3368, allocations: 45.61 kB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.3369, allocations: 43.8 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3369, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3369, allocations: 0 / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3369, allocations: 4 kB / 1.076 GB, free: 5.918 MB / 0.8262 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.0005157/0.3374, allocations: 359.7 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3375, allocations: 8.031 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.3375, allocations: 8.844 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3378, allocations: 176.2 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3378, allocations: 4.375 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3378, allocations: 4.375 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.338, allocations: 70.23 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.338, allocations: 192 / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.338, allocations: 3.938 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3381, allocations: 4 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.3383, allocations: 55.95 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3387, allocations: 288.8 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3389, allocations: 74.55 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3391, allocations: 32.83 kB / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3391, allocations: 0 / 1.077 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3391, allocations: 30.56 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3391, allocations: 0 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003847/0.3395, allocations: 121.6 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3396, allocations: 55.41 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.3396, allocations: 117.8 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3397, allocations: 29.7 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.3397, allocations: 88.05 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3397, allocations: 15.75 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.3398, allocations: 17.7 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3399, allocations: 314.8 kB / 1.077 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.34, allocations: 31.98 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3402, allocations: 31.97 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3404, allocations: 60.83 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3404, allocations: 7.938 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002548/0.3406, allocations: 97.59 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3407, allocations: 8 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3407, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.3407, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.3408, allocations: 19.98 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3408, allocations: 0 / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3409, allocations: 11.98 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3409, allocations: 4 kB / 1.078 GB, free: 3.582 MB / 0.8262 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.27e-05/0.341, allocations: 113.8 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3411, allocations: 3.906 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.3413, allocations: 105.5 kB / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3414, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3414, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3414, allocations: 0 / 1.078 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3416, allocations: 181.8 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3416, allocations: 0 / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.3417, allocations: 15.98 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3417, allocations: 4 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3417, allocations: 4.172 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3417, allocations: 4 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3417, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.3421, allocations: 231.3 kB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3422, allocations: 81.14 kB / 1.078 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3422, allocations: 384 / 1.078 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.3423, allocations: 7.984 kB / 1.078 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.3424, allocations: 8.062 kB / 1.078 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3424, allocations: 0 / 1.078 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.3424, allocations: 95.2 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3424, allocations: 0 / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002224/0.3427, allocations: 8 kB / 1.079 GB, free: 2.629 MB / 0.8262 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.0001303/0.3428, allocations: 95.25 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3431, allocations: 71.89 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3431, allocations: 0 / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3432, allocations: 35.91 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3435, allocations: 11.94 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.3439, allocations: 182.7 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3442, allocations: 0.6809 MB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.3443, allocations: 4 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3443, allocations: 7.438 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3443, allocations: 4 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002844/0.3472, allocations: 0.5318 MB / 1.08 GB, free: 0.9531 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)