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.001069/0.001069, allocations: 89.89 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.007082/0.007082, allocations: 170.3 kB / 16.26 MB, free: 6.676 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.1/3.1, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 10.75 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4348, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001481/0.4363, allocations: 0.7784 MB / 1.075 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.4377, allocations: 0.9909 MB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.4378, allocations: 4 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.438, allocations: 11.86 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.4381, allocations: 15.86 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.4384, allocations: 59.95 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.4386, allocations: 168 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4388, allocations: 72.06 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.4389, allocations: 55.7 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.439, allocations: 63.62 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.4391, allocations: 4 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.4391, allocations: 8 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.4391, allocations: 27.84 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.4392, allocations: 85.3 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4394, allocations: 159.6 kB / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4394, allocations: 0 / 1.077 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.016e-06/0.4394, allocations: 4 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.4394, allocations: 0 / 1.077 GB, free: 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.0008292/0.4403, allocations: 463 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4403, allocations: 12.02 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.4404, allocations: 20.75 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.4408, allocations: 225.3 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.4408, allocations: 12.38 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.4408, allocations: 12.38 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.4412, allocations: 157.6 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4412, allocations: 4 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.4412, allocations: 8 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4413, allocations: 4 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.4416, allocations: 119.9 kB / 1.078 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.4428, allocations: 0.543 MB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.4432, allocations: 146.7 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.4434, allocations: 106 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4435, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.4438, allocations: 123.3 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.4438, allocations: 0 / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.0006083/0.4444, allocations: 243.2 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4445, allocations: 55.34 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4446, allocations: 163.4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.4447, allocations: 29.7 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.4447, allocations: 116.5 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.4448, allocations: 74.92 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.4449, allocations: 21.72 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.445, allocations: 330.8 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.4452, allocations: 71.97 kB / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.4455, allocations: 100.5 kB / 1.08 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.4458, allocations: 153.5 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4458, allocations: 0 / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005109/0.4464, allocations: 229.3 kB / 1.08 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4464, allocations: 4 kB / 1.08 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4464, allocations: 3.984 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4464, allocations: 0 / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4466, allocations: 47.91 kB / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4466, allocations: 0 / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.4468, allocations: 31.86 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4468, allocations: 11.98 kB / 1.08 GB, free: 1.191 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.0001766/0.447, allocations: 125.8 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.447, allocations: 15.81 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.4475, allocations: 208 kB / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4475, allocations: 0 / 1.08 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4475, allocations: 4 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4475, allocations: 0 / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.4483, allocations: 0.5963 MB / 1.081 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4483, allocations: 7.984 kB / 1.081 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4485, allocations: 39.92 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4485, allocations: 3.938 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.4485, allocations: 8 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4485, allocations: 4 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4485, allocations: 0 / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.4491, allocations: 401.9 kB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.4492, allocations: 100.8 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4492, allocations: 4 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4494, allocations: 24.02 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.4495, allocations: 23.98 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4495, allocations: 7.984 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.782e-05/0.4496, allocations: 121.4 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4496, allocations: 3.938 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002623/0.4499, allocations: 31.91 kB / 1.082 GB, free: 15.34 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.0001932/0.4501, allocations: 107.2 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.4505, allocations: 179.7 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4505, allocations: 0 / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.4507, allocations: 100.3 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4511, allocations: 23.98 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.4518, allocations: 451.2 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.4521, allocations: 0.7168 MB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.05e-05/0.4522, allocations: 21.42 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.4522, allocations: 23.42 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.4522, allocations: 0 / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.004617/0.4569, allocations: 1.549 MB / 1.085 GB, free: 12.12 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)