Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009159, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.009163/0.009163, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 17.78 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001598/0.3785, allocations: 0.7745 MB / 1.075 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.38, allocations: 0.987 MB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3802, allocations: 8 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.3803, allocations: 11.86 kB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.3804, allocations: 15.88 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.3807, allocations: 55.94 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.3809, allocations: 168 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.3811, allocations: 81.91 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3812, allocations: 51.72 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3813, allocations: 63.62 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3814, allocations: 4 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.3814, allocations: 8 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.3814, allocations: 23.91 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.533e-05/0.3815, allocations: 93.23 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.3817, allocations: 159.6 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3817, allocations: 0 / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3818, allocations: 0 / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3818, allocations: 4 kB / 1.077 GB, free: 5.012 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008249/0.3826, allocations: 460.2 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3826, allocations: 12.03 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.3827, allocations: 20.75 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.383, allocations: 225.1 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.383, allocations: 12.38 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.3831, allocations: 12.38 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3834, allocations: 165.6 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3834, allocations: 0 / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3835, allocations: 8 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3835, allocations: 4 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.3838, allocations: 115.9 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.385, allocations: 0.5469 MB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.3854, allocations: 142.8 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3856, allocations: 104.6 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.3856, allocations: 3.984 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/0.386, allocations: 127.3 kB / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.386, allocations: 0 / 1.078 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.000602/0.3866, allocations: 235.3 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3866, allocations: 59.34 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3868, allocations: 163.7 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.3868, allocations: 29.7 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.3869, allocations: 116.5 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.387, allocations: 67.02 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.387, allocations: 25.64 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3872, allocations: 326.8 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.3874, allocations: 75.95 kB / 1.08 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3876, allocations: 96.52 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.388, allocations: 153.5 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.388, allocations: 0 / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005012/0.3885, allocations: 233.3 kB / 1.08 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3885, allocations: 4 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3885, allocations: 0 / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3886, allocations: 0 / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.3888, allocations: 43.92 kB / 1.08 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3888, allocations: 3.984 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3889, allocations: 31.83 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.389, allocations: 12 kB / 1.08 GB, free: 1.211 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001217/0.3891, allocations: 121.8 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3891, allocations: 19.75 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.3896, allocations: 208.1 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3896, allocations: 0 / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3896, allocations: 4 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3896, allocations: 0 / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.3905, allocations: 0.5963 MB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3905, allocations: 4.188 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3907, allocations: 43.92 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3907, allocations: 3.938 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3907, allocations: 7.984 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3907, allocations: 4 kB / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3907, allocations: 0 / 1.081 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.3914, allocations: 405.9 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.3915, allocations: 100.8 kB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3915, allocations: 8 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3917, allocations: 15.98 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.3917, allocations: 27.97 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3918, allocations: 4 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.362e-05/0.3919, allocations: 121.4 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.273e-06/0.3919, allocations: 3.938 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002762/0.3921, allocations: 39.84 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001842/0.3923, allocations: 107.2 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.3928, allocations: 179.8 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3928, allocations: 0 / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.393, allocations: 92.28 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3934, allocations: 23.98 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.3942, allocations: 455.2 kB / 1.083 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3945, allocations: 0.7207 MB / 1.083 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.577e-05/0.3946, allocations: 21.42 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.3947, allocations: 15.44 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.3947, allocations: 0 / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.004852/0.3996, allocations: 1.549 MB / 1.085 GB, free: 12.14 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1)