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.001044/0.001044, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001091/0.001091, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.665/1.665, allocations: 251.9 MB / 0.51 GB, free: 4.844 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.000693/0.000693, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7027/0.7034, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002566/0.706, allocations: 1.402 MB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000637/0.7067, allocations: 288 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.7068, allocations: 0 / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.7068, allocations: 7.875 kB / 0.7296 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.707, allocations: 27.95 kB / 0.7297 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.7073, allocations: 43.89 kB / 0.7297 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.7075, allocations: 91.83 kB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.7077, allocations: 33.72 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.7078, allocations: 39.8 kB / 0.7299 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.7079, allocations: 47.69 kB / 0.7299 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.708, allocations: 12 kB / 0.7299 GB, free: 9.453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.708, allocations: 4 kB / 0.7299 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.708, allocations: 15.92 kB / 0.7299 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.7081, allocations: 49.58 kB / 0.73 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.7082, allocations: 93.75 kB / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.7082, allocations: 0 / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7082, allocations: 0 / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.7082, allocations: 0 / 0.7301 GB, free: 9.289 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.0007957/0.709, allocations: 454.5 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.7091, allocations: 12.03 kB / 0.7305 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.7092, allocations: 19.75 kB / 0.7305 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.7095, allocations: 216.8 kB / 0.7308 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.7095, allocations: 8 kB / 0.7308 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.7095, allocations: 16 kB / 0.7308 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.7099, allocations: 156.8 kB / 0.7309 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7099, allocations: 3.938 kB / 0.7309 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.7099, allocations: 4 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.7099, allocations: 4 kB / 0.7309 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.7102, allocations: 87.83 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.7111, allocations: 0.7433 MB / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.7113, allocations: 50.56 kB / 0.7318 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.7113, allocations: 7.938 kB / 0.7318 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.7116, allocations: 126.9 kB / 0.7319 GB, free: 7.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.7116, allocations: 4 kB / 0.7319 GB, free: 7.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005122/0.7121, allocations: 173.3 kB / 0.7321 GB, free: 7.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.7122, allocations: 140.8 kB / 0.7322 GB, free: 6.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.7124, allocations: 198.2 kB / 0.7324 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.7125, allocations: 29.7 kB / 0.7324 GB, free: 6.609 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.7125, allocations: 116 kB / 0.7326 GB, free: 6.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.7126, allocations: 31.55 kB / 0.7326 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.7126, allocations: 11.94 kB / 0.7326 GB, free: 6.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7127, allocations: 326.8 kB / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.7129, allocations: 43.97 kB / 0.7329 GB, free: 6.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.713, allocations: 123.9 kB / 0.7331 GB, free: 5.914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.7132, allocations: 55.97 kB / 0.7331 GB, free: 5.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7132, allocations: 0 / 0.7331 GB, free: 5.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003686/0.7136, allocations: 193.1 kB / 0.7333 GB, free: 5.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.7136, allocations: 4 kB / 0.7333 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.7136, allocations: 4 kB / 0.7333 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.7136, allocations: 8.406 kB / 0.7333 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.7138, allocations: 35.92 kB / 0.7334 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.7138, allocations: 4 kB / 0.7334 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.7139, allocations: 31.78 kB / 0.7334 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.7139, allocations: 12 kB / 0.7334 GB, free: 5.566 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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.7141, allocations: 132.5 kB / 0.7335 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.7141, allocations: 15.81 kB / 0.7335 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.7142, allocations: 25.39 kB / 0.7336 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7142, allocations: 4 kB / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7142, allocations: 0 / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7142, allocations: 0 / 0.7336 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.715, allocations: 0.5365 MB / 0.7341 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.715, allocations: 0 / 0.7341 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.7151, allocations: 23.92 kB / 0.7341 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7152, allocations: 0 / 0.7341 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.7152, allocations: 8 kB / 0.7341 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7152, allocations: 0 / 0.7341 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7152, allocations: 8.266 kB / 0.7341 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.7157, allocations: 409.2 kB / 0.7345 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-05/0.7158, allocations: 97.3 kB / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.7158, allocations: 0 / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.716, allocations: 28.02 kB / 0.7346 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.7161, allocations: 11.98 kB / 0.7347 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.7161, allocations: 7.984 kB / 0.7347 GB, free: 4.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001171/0.7162, allocations: 131.2 kB / 0.7348 GB, free: 4.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7162, allocations: 0 / 0.7348 GB, free: 4.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003165/0.7166, allocations: 27.91 kB / 0.7348 GB, free: 3.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/0.7168, allocations: 121.8 kB / 0.7349 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.7172, allocations: 108.6 kB / 0.735 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7172, allocations: 4.062 kB / 0.735 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.7173, allocations: 55.91 kB / 0.7351 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.7177, allocations: 46.72 kB / 0.7351 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.7185, allocations: 386.8 kB / 0.7355 GB, free: 3.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.7189, allocations: 0.7205 MB / 0.7362 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.252e-05/0.719, allocations: 13.42 kB / 0.7362 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.719, allocations: 15.44 kB / 0.7362 GB, free: 2.477 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.719, allocations: 4 kB / 0.7362 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Templates: time 0.004192/0.7232, allocations: 1.413 MB / 0.7376 GB, free: 1.078 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: