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.001608/0.001608, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002826/0.002826, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.719/1.719, allocations: 205.1 MB / 222 MB, free: 4.777 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.778/1.778, allocations: 251.7 MB / 0.5088 GB, free: 3.352 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.001414/0.001414, allocations: 63.92 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7385, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.003104/0.7417, allocations: 1.78 MB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.7424, allocations: 303.9 kB / 0.7259 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.7425, allocations: 0 / 0.7259 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.7427, allocations: 23.8 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.7428, allocations: 7.875 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.743, allocations: 51.94 kB / 0.7259 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.7432, allocations: 135.6 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.7434, allocations: 45.53 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.7435, allocations: 43.78 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.7435, allocations: 55.69 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.7436, allocations: 11.94 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.121e-05/0.7436, allocations: 8 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.7437, allocations: 23.86 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.7437, allocations: 55.61 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.7439, allocations: 133.5 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7439, allocations: 0 / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7439, allocations: 4 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.7439, allocations: 0 / 0.7264 GB, free: 10.45 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.0007994/0.7447, allocations: 466.6 kB / 0.7269 GB, free: 9.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7448, allocations: 16.02 kB / 0.7269 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.7448, allocations: 20.75 kB / 0.7269 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.7451, allocations: 220.7 kB / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.7451, allocations: 8.375 kB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.7452, allocations: 12.38 kB / 0.7271 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.7455, allocations: 154.3 kB / 0.7273 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7455, allocations: 4.172 kB / 0.7273 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.7455, allocations: 7.938 kB / 0.7273 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.7455, allocations: 4 kB / 0.7273 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.7458, allocations: 71.89 kB / 0.7274 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.7469, allocations: 0.743 MB / 0.7281 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.7471, allocations: 50.55 kB / 0.7281 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.7472, allocations: 24.84 kB / 0.7282 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.7472, allocations: 8 kB / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.7476, allocations: 126.7 kB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 4.158e-06/0.7476, allocations: 0 / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005599/0.7482, allocations: 173.4 kB / 0.7285 GB, free: 8.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7483, allocations: 136.5 kB / 0.7286 GB, free: 7.984 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.7485, allocations: 194.2 kB / 0.7288 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.7486, allocations: 29.7 kB / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.7487, allocations: 116 kB / 0.7289 GB, free: 7.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.7487, allocations: 35.69 kB / 0.729 GB, free: 7.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.7488, allocations: 41.77 kB / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.749, allocations: 326.8 kB / 0.7293 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.7491, allocations: 35.97 kB / 0.7293 GB, free: 7.184 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.7493, allocations: 123.9 kB / 0.7295 GB, free: 7.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.7496, allocations: 175.8 kB / 0.7296 GB, free: 6.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7497, allocations: 0 / 0.7296 GB, free: 6.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000361/0.75, allocations: 185.5 kB / 0.7298 GB, free: 6.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7501, allocations: 13.66 kB / 0.7298 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.7501, allocations: 4 kB / 0.7298 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.7501, allocations: 4 kB / 0.7298 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7502, allocations: 31.91 kB / 0.7299 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7502, allocations: 4 kB / 0.7299 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.7504, allocations: 27.83 kB / 0.7299 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.7504, allocations: 8 kB / 0.7299 GB, free: 6.527 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.0001345/0.7505, allocations: 133.7 kB / 0.73 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.7506, allocations: 23.75 kB / 0.73 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.7506, allocations: 17.39 kB / 0.7301 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.7507, allocations: 4 kB / 0.7301 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.7507, allocations: 0 / 0.7301 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.7507, allocations: 4.172 kB / 0.7301 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/0.7515, allocations: 0.5096 MB / 0.7306 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.7515, allocations: 64 / 0.7306 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.7516, allocations: 27.92 kB / 0.7306 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7517, allocations: 4 kB / 0.7306 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.7517, allocations: 3.938 kB / 0.7306 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.7517, allocations: 4 kB / 0.7306 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7517, allocations: 3.984 kB / 0.7306 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.7522, allocations: 360.1 kB / 0.7309 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.7523, allocations: 96.95 kB / 0.731 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.7523, allocations: 4 kB / 0.731 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.7525, allocations: 11.98 kB / 0.7311 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.7526, allocations: 15.98 kB / 0.7311 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.7526, allocations: 4 kB / 0.7311 GB, free: 5.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001106/0.7527, allocations: 136.5 kB / 0.7312 GB, free: 5.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7527, allocations: 0 / 0.7312 GB, free: 5.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00031/0.753, allocations: 24 kB / 0.7312 GB, free: 5.051 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.0001928/0.7532, allocations: 123 kB / 0.7313 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.7535, allocations: 107.8 kB / 0.7314 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7535, allocations: 0 / 0.7314 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.7537, allocations: 47.91 kB / 0.7315 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.7542, allocations: 43.53 kB / 0.7315 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.7549, allocations: 390.2 kB / 0.7319 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.7552, allocations: 0.7166 MB / 0.7326 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.161e-05/0.7553, allocations: 17.42 kB / 0.7326 GB, free: 3.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.7553, allocations: 15.44 kB / 0.7326 GB, free: 3.539 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.7553, allocations: 0 / 0.7326 GB, free: 3.539 MB / 0.545 GB Notification: Performance of Templates: time 0.004028/0.7594, allocations: 1.475 MB / 0.7341 GB, free: 2.086 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)