Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01119/0.01119, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.512/1.512, 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 2.938/2.938, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 13.81 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4613, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001316/0.4627, allocations: 0.6072 MB / 1.075 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.4643, allocations: 1.182 MB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.4644, allocations: 0 / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.4644, allocations: 7.922 kB / 1.076 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.4645, allocations: 15.92 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.465, allocations: 130.6 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.4652, allocations: 155.6 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.4653, allocations: 33.09 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4654, allocations: 55.77 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.4655, allocations: 55.75 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.4656, allocations: 8 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.4656, allocations: 23.98 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.4657, allocations: 15.92 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.4658, allocations: 81.41 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.466, allocations: 155.7 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.466, allocations: 0 / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.466, allocations: 0 / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.466, allocations: 0 / 1.077 GB, free: 4.996 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006538/0.4667, allocations: 434.4 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4667, allocations: 12.02 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.4668, allocations: 16.84 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.4674, allocations: 260.2 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4675, allocations: 8.375 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.4675, allocations: 16.31 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.4678, allocations: 94.2 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4678, allocations: 7.938 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4678, allocations: 3.984 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4678, allocations: 3.938 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.468, allocations: 59.95 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.4688, allocations: 396.4 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.469, allocations: 42.55 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.4691, allocations: 28.91 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.4691, allocations: 4 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.4694, allocations: 103.3 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4694, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004752/0.4699, allocations: 149.4 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4699, allocations: 59.34 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.4701, allocations: 138.8 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.4701, allocations: 37.69 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.4702, allocations: 108 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.4702, allocations: 19.72 kB / 1.079 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.4703, allocations: 33.7 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4704, allocations: 322.8 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4706, allocations: 55.91 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.4708, allocations: 139.1 kB / 1.079 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.4712, allocations: 208.6 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4712, allocations: 4 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005201/0.4717, allocations: 246.9 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.4718, allocations: 37.7 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4718, allocations: 4 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4718, allocations: 7.984 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.472, allocations: 28.3 kB / 1.08 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.472, allocations: 11.94 kB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.4723, allocations: 47.81 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.4723, allocations: 15.98 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001151/0.4724, allocations: 136 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.4724, allocations: 7.906 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.4725, allocations: 12.7 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4725, allocations: 4 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/0.4725, allocations: 11.81 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4725, allocations: 0 / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.4732, allocations: 410.4 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4732, allocations: 0 / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.4733, allocations: 15.94 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4733, allocations: 3.938 kB / 1.08 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4733, allocations: 7.984 kB / 1.08 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4733, allocations: 4 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4733, allocations: 4 kB / 1.08 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.4738, allocations: 250.1 kB / 1.08 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.4738, allocations: 96.98 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.4739, allocations: 0 / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.474, allocations: 15.98 kB / 1.081 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.474, allocations: 4 kB / 1.081 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.474, allocations: 7.984 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.65e-05/0.4741, allocations: 104.8 kB / 1.081 GB, free: 404 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4741, allocations: 0 / 1.081 GB, free: 404 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003094/0.4744, allocations: 28 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0002147/0.4747, allocations: 111.2 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.4751, allocations: 187.8 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4751, allocations: 4 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4753, allocations: 40.09 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.4756, allocations: 31.52 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.4762, allocations: 313.6 kB / 1.081 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.4765, allocations: 0.7086 MB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.4766, allocations: 16.64 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.4766, allocations: 15.44 kB / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.4766, allocations: 0 / 1.082 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.005139/0.4818, allocations: 1.518 MB / 1.084 GB, free: 13.38 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1)