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.001303/0.001303, allocations: 97.95 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.006525/0.006525, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.684/1.684, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.614/1.614, allocations: 252 MB / 0.5105 GB, free: 4.645 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.0006493/0.0006493, allocations: 23.84 kB / 0.6249 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6985, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002194/0.7008, allocations: 1.434 MB / 0.7301 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006151/0.7014, allocations: 288 kB / 0.7304 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.7015, allocations: 4 kB / 0.7304 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.7017, allocations: 19.86 kB / 0.7304 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.7018, allocations: 23.72 kB / 0.7305 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.702, allocations: 47.95 kB / 0.7305 GB, free: 9.426 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.7021, allocations: 143.5 kB / 0.7307 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.7023, allocations: 45.53 kB / 0.7307 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.213e-05/0.7024, allocations: 35.8 kB / 0.7307 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.7025, allocations: 43.7 kB / 0.7308 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.7025, allocations: 8 kB / 0.7308 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.7025, allocations: 4 kB / 0.7308 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.914e-05/0.7026, allocations: 27.84 kB / 0.7308 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.17e-05/0.7026, allocations: 69.38 kB / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.7028, allocations: 129.4 kB / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7028, allocations: 0 / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7028, allocations: 0 / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.7028, allocations: 4 kB / 0.731 GB, free: 8.918 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.0007216/0.7036, allocations: 450.7 kB / 0.7314 GB, free: 8.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.7036, allocations: 8.031 kB / 0.7314 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.7037, allocations: 20.75 kB / 0.7315 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.7039, allocations: 222.1 kB / 0.7317 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.704, allocations: 8.375 kB / 0.7317 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.704, allocations: 12.38 kB / 0.7317 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.7043, allocations: 152.7 kB / 0.7318 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7044, allocations: 8.188 kB / 0.7318 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.7044, allocations: 7.938 kB / 0.7319 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7044, allocations: 7.938 kB / 0.7319 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.7046, allocations: 79.88 kB / 0.7319 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.7057, allocations: 0.7392 MB / 0.7327 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.7059, allocations: 58.53 kB / 0.7327 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.706, allocations: 36.83 kB / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.706, allocations: 4 kB / 0.7328 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.7063, allocations: 138.7 kB / 0.7329 GB, free: 6.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.7063, allocations: 3.938 kB / 0.7329 GB, free: 6.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005329/0.7069, allocations: 185.4 kB / 0.7331 GB, free: 6.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.707, allocations: 128.5 kB / 0.7332 GB, free: 6.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.7072, allocations: 202.3 kB / 0.7334 GB, free: 6.223 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.7073, allocations: 29.69 kB / 0.7334 GB, free: 6.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7074, allocations: 116 kB / 0.7335 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.7074, allocations: 27.56 kB / 0.7335 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.7075, allocations: 29.7 kB / 0.7336 GB, free: 6.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7077, allocations: 326.8 kB / 0.7339 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.7078, allocations: 39.97 kB / 0.7339 GB, free: 5.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.708, allocations: 133.5 kB / 0.7341 GB, free: 5.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.7083, allocations: 187.8 kB / 0.7342 GB, free: 5.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7083, allocations: 0 / 0.7342 GB, free: 5.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003954/0.7087, allocations: 201.3 kB / 0.7344 GB, free: 5.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.7088, allocations: 11.94 kB / 0.7344 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7088, allocations: 7.938 kB / 0.7344 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7088, allocations: 4 kB / 0.7344 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.7089, allocations: 23.98 kB / 0.7345 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.709, allocations: 7.938 kB / 0.7345 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.7091, allocations: 39.97 kB / 0.7345 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.7091, allocations: 8 kB / 0.7345 GB, free: 4.938 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.0001137/0.7092, allocations: 129.7 kB / 0.7346 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.7093, allocations: 19.84 kB / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.7094, allocations: 21.39 kB / 0.7347 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7094, allocations: 4 kB / 0.7347 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.7094, allocations: 4 kB / 0.7347 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.7094, allocations: 4 kB / 0.7347 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.7102, allocations: 0.5211 MB / 0.7352 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7102, allocations: 0 / 0.7352 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.7103, allocations: 24.3 kB / 0.7352 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7103, allocations: 0 / 0.7352 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.7103, allocations: 8 kB / 0.7352 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.7104, allocations: 0 / 0.7352 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7104, allocations: 7.938 kB / 0.7352 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.7109, allocations: 376.1 kB / 0.7356 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.711, allocations: 89.02 kB / 0.7357 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.711, allocations: 8.406 kB / 0.7357 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7112, allocations: 15.98 kB / 0.7357 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.7112, allocations: 15.92 kB / 0.7357 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.7112, allocations: 4 kB / 0.7357 GB, free: 3.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001127/0.7114, allocations: 140.5 kB / 0.7359 GB, free: 3.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7114, allocations: 0 / 0.7359 GB, free: 3.457 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003111/0.7117, allocations: 27.91 kB / 0.7359 GB, free: 3.43 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.0002094/0.7119, allocations: 122.1 kB / 0.736 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.7122, allocations: 115.9 kB / 0.7361 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7122, allocations: 0 / 0.7361 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.7124, allocations: 60.66 kB / 0.7362 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.7129, allocations: 50.58 kB / 0.7362 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.7137, allocations: 398.7 kB / 0.7366 GB, free: 2.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.7141, allocations: 0.7205 MB / 0.7373 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.204e-05/0.7142, allocations: 13.42 kB / 0.7373 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.7142, allocations: 19.38 kB / 0.7373 GB, free: 1.883 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.7142, allocations: 0 / 0.7373 GB, free: 1.883 MB / 0.545 GB Notification: Performance of Templates: time 0.004365/0.7186, allocations: 1.465 MB / 0.7388 GB, free: 448 kB / 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: