Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001554/0.001554, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001857/0.001857, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7448 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 65.92 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.338, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002517/0.3405, allocations: 1.137 MB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3418, allocations: 0.9909 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.342, allocations: 4 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.3421, allocations: 11.86 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.3422, allocations: 11.88 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3425, allocations: 63.94 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.3427, allocations: 176 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3429, allocations: 80.03 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.934e-05/0.343, allocations: 71.72 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.3431, allocations: 87.59 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.3431, allocations: 16 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.398e-05/0.3431, allocations: 16 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.3432, allocations: 39.84 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.3433, allocations: 75.59 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.3435, allocations: 171.6 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3435, allocations: 4 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3435, allocations: 0 / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3435, allocations: 4 kB / 1.071 GB, free: 7.875 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.000848/0.3444, allocations: 482.8 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3444, allocations: 8.031 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3445, allocations: 20.69 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.3447, allocations: 228.5 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3448, allocations: 8.375 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.3448, allocations: 16.38 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.3452, allocations: 157.6 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3452, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3452, allocations: 8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3452, allocations: 4 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.3455, allocations: 103.9 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3466, allocations: 0.5313 MB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.347, allocations: 142.7 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.3472, allocations: 84.8 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3472, allocations: 11.92 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.3475, allocations: 119.2 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.3476, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0005748/0.3481, allocations: 227.3 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.3482, allocations: 51.41 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3483, allocations: 157.8 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.3484, allocations: 29.7 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.3485, allocations: 128.4 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3485, allocations: 63.09 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.3486, allocations: 41.7 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3488, allocations: 322.8 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.349, allocations: 67.95 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.3492, allocations: 92.31 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.3496, allocations: 149.5 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3496, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004966/0.3501, allocations: 214.6 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3501, allocations: 9.75 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3501, allocations: 4 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3501, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3504, allocations: 35.98 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3504, allocations: 7.984 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3505, allocations: 23.83 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3506, allocations: 12 kB / 1.074 GB, free: 4.141 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.0001225/0.3507, allocations: 133.7 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.3507, allocations: 11.91 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.3512, allocations: 192.2 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3512, allocations: 4 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3512, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3512, allocations: 7.922 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008584/0.3521, allocations: 0.5851 MB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.3521, allocations: 4 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.3523, allocations: 36.17 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3523, allocations: 3.938 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3523, allocations: 11.98 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3523, allocations: 4 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3523, allocations: 3.938 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.3529, allocations: 372.4 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.353, allocations: 100.8 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.353, allocations: 8 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3532, allocations: 19.98 kB / 1.075 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.3533, allocations: 27.91 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3533, allocations: 4 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.72e-05/0.3534, allocations: 128 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3534, allocations: 0 / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000273/0.3537, allocations: 31.91 kB / 1.076 GB, free: 2.328 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.0001649/0.3538, allocations: 111.2 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.3543, allocations: 176.7 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3543, allocations: 4 kB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.3545, allocations: 83.84 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.3548, allocations: 29.97 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.3555, allocations: 430.8 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3559, allocations: 0.7282 MB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.744e-05/0.3559, allocations: 17.42 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.356, allocations: 19.42 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.356, allocations: 0 / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of Templates: time 0.004643/0.3607, allocations: 1.659 MB / 1.079 GB, free: 15.02 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1)