Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001823/0.001823, allocations: 188.1 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.1 MB / 222.1 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.729/1.729, allocations: 251.6 MB / 0.5089 GB, free: 3.336 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001518, allocations: 67.91 kB / 0.6218 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6704, allocations: 104.7 MB / 0.724 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.003776/0.6742, allocations: 1.776 MB / 0.7258 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.675, allocations: 307.9 kB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.6751, allocations: 0 / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.6753, allocations: 23.8 kB / 0.7261 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.6753, allocations: 11.86 kB / 0.7261 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.6756, allocations: 47.95 kB / 0.7261 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.6759, allocations: 143.6 kB / 0.7263 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.6761, allocations: 53.52 kB / 0.7263 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.6761, allocations: 47.78 kB / 0.7264 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.6762, allocations: 55.7 kB / 0.7264 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.6763, allocations: 12 kB / 0.7264 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.6763, allocations: 8 kB / 0.7264 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6764, allocations: 31.84 kB / 0.7265 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.642e-05/0.6765, allocations: 63.61 kB / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.6767, allocations: 133.5 kB / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6767, allocations: 0 / 0.7266 GB, free: 10.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6767, allocations: 7.938 kB / 0.7267 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.6767, allocations: 0 / 0.7267 GB, free: 10.42 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000849/0.6776, allocations: 466.5 kB / 0.7271 GB, free: 9.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6776, allocations: 12.03 kB / 0.7271 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.6777, allocations: 20.75 kB / 0.7271 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.6779, allocations: 218.1 kB / 0.7273 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.6779, allocations: 8.375 kB / 0.7273 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.678, allocations: 12.38 kB / 0.7274 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.6783, allocations: 150.5 kB / 0.7275 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6783, allocations: 4.125 kB / 0.7275 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.6783, allocations: 11.94 kB / 0.7275 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6784, allocations: 4 kB / 0.7275 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.6786, allocations: 71.88 kB / 0.7276 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.6796, allocations: 0.7392 MB / 0.7283 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.6798, allocations: 46.56 kB / 0.7284 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.6799, allocations: 32.77 kB / 0.7284 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.6799, allocations: 8 kB / 0.7284 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.6802, allocations: 118.7 kB / 0.7285 GB, free: 8.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 2.444e-06/0.6802, allocations: 0 / 0.7285 GB, free: 8.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005372/0.6807, allocations: 177.4 kB / 0.7287 GB, free: 8.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.6809, allocations: 132.5 kB / 0.7288 GB, free: 7.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.6812, allocations: 194.2 kB / 0.729 GB, free: 7.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.6812, allocations: 25.7 kB / 0.729 GB, free: 7.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.6813, allocations: 120.2 kB / 0.7291 GB, free: 7.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.6814, allocations: 31.55 kB / 0.7292 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.6815, allocations: 41.77 kB / 0.7292 GB, free: 7.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6816, allocations: 326.8 kB / 0.7295 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6817, allocations: 35.97 kB / 0.7295 GB, free: 7.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.6819, allocations: 134.3 kB / 0.7297 GB, free: 7.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.6822, allocations: 175.8 kB / 0.7298 GB, free: 6.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.6822, allocations: 0 / 0.7298 GB, free: 6.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000372/0.6826, allocations: 185.5 kB / 0.73 GB, free: 6.602 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6827, allocations: 11.97 kB / 0.73 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6827, allocations: 4 kB / 0.73 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6827, allocations: 4 kB / 0.73 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6828, allocations: 23.98 kB / 0.7301 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.6828, allocations: 7.938 kB / 0.7301 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.683, allocations: 27.83 kB / 0.7301 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.683, allocations: 8 kB / 0.7301 GB, free: 6.516 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001516/0.6831, allocations: 143.7 kB / 0.7302 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.6832, allocations: 19.75 kB / 0.7303 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.6832, allocations: 21.62 kB / 0.7303 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6833, allocations: 7.938 kB / 0.7303 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6833, allocations: 0 / 0.7303 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6833, allocations: 3.984 kB / 0.7303 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.6841, allocations: 0.5096 MB / 0.7308 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6841, allocations: 4.062 kB / 0.7308 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.6842, allocations: 15.98 kB / 0.7308 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6842, allocations: 4 kB / 0.7308 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.6843, allocations: 3.938 kB / 0.7308 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.6843, allocations: 7.938 kB / 0.7308 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6843, allocations: 0 / 0.7308 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.6848, allocations: 356.1 kB / 0.7312 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.6849, allocations: 92.92 kB / 0.7313 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.685, allocations: 4 kB / 0.7313 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.6851, allocations: 20.02 kB / 0.7313 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.6852, allocations: 15.92 kB / 0.7313 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.6852, allocations: 4 kB / 0.7313 GB, free: 5.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001118/0.6853, allocations: 140.5 kB / 0.7314 GB, free: 5.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6853, allocations: 0 / 0.7314 GB, free: 5.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003018/0.6856, allocations: 20 kB / 0.7314 GB, free: 5.035 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002323/0.6859, allocations: 115.1 kB / 0.7316 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.6862, allocations: 115.7 kB / 0.7317 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6862, allocations: 0 / 0.7317 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.6864, allocations: 47.91 kB / 0.7317 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.6869, allocations: 52.38 kB / 0.7318 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.6877, allocations: 384.5 kB / 0.7321 GB, free: 4.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.6883, allocations: 0.7202 MB / 0.7328 GB, free: 3.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.025e-05/0.6884, allocations: 21.55 kB / 0.7329 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.6884, allocations: 19.44 kB / 0.7329 GB, free: 3.508 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.6884, allocations: 0 / 0.7329 GB, free: 3.508 MB / 0.545 GB Notification: Performance of Templates: time 0.005029/0.6935, allocations: 1.54 MB / 0.7344 GB, free: 1.992 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)