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.001503/0.001503, 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.001426/0.001426, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.53 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3472, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002432/0.3496, allocations: 1.052 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.351, allocations: 1.003 MB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3512, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3513, allocations: 15.75 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.3514, allocations: 19.8 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.3517, allocations: 79.84 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3519, allocations: 172 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.3521, allocations: 84.02 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3522, allocations: 71.7 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3523, allocations: 83.61 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.3524, allocations: 20 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.3524, allocations: 16 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.3525, allocations: 35.84 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.3525, allocations: 75.59 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.3528, allocations: 183.6 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3528, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3528, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3528, allocations: 3.938 kB / 1.071 GB, free: 7.5 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.0007954/0.3536, allocations: 478.8 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3536, allocations: 8.031 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.3537, allocations: 20.75 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3539, allocations: 225.1 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.354, allocations: 12.38 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.354, allocations: 12.38 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.3543, allocations: 165.5 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3543, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3544, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3544, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3547, allocations: 107.9 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3558, allocations: 0.5274 MB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.3562, allocations: 138.7 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.3563, allocations: 88.75 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3564, allocations: 7.984 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.3567, allocations: 121.7 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.3567, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0005798/0.3573, allocations: 221.4 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3574, allocations: 55.41 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3575, allocations: 156.2 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.3576, allocations: 33.7 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.3577, allocations: 124.4 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.3577, allocations: 59.11 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.3578, allocations: 45.7 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3579, allocations: 322.8 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.3582, allocations: 67.95 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.3585, allocations: 88.52 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.3588, allocations: 165 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3589, allocations: 0 / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004773/0.3593, allocations: 205.4 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3594, allocations: 4 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3594, allocations: 4.031 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3594, allocations: 0 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3596, allocations: 47.91 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.3596, allocations: 0 / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3598, allocations: 27.83 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3598, allocations: 11.92 kB / 1.074 GB, free: 3.77 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.0001097/0.3599, allocations: 138.8 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3599, allocations: 15.91 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.3604, allocations: 188.2 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3604, allocations: 0 / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3604, allocations: 0 / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3604, allocations: 7.984 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008395/0.3613, allocations: 0.5851 MB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3613, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3615, allocations: 39.91 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3615, allocations: 12.12 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.3615, allocations: 8 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3615, allocations: 0 / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3615, allocations: 4 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.3621, allocations: 379.8 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3622, allocations: 100.8 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3622, allocations: 8 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3624, allocations: 16.03 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.3625, allocations: 31.94 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3625, allocations: 11.98 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.3626, allocations: 117 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3626, allocations: 0 / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002926/0.3629, allocations: 35.91 kB / 1.076 GB, free: 1.953 MB / 0.8262 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.000173/0.3631, allocations: 107.8 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.3635, allocations: 180.1 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3636, allocations: 0 / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.3638, allocations: 87.83 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3641, allocations: 25.69 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.3648, allocations: 380.5 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.365, allocations: 0.7321 MB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.051e-05/0.3651, allocations: 13.42 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.3652, allocations: 19.44 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3652, allocations: 0 / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of Templates: time 0.004665/0.3699, allocations: 1.751 MB / 1.079 GB, free: 14.61 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)