Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001057/0.001057, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.009211/0.009211, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.572/1.572, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004173, allocations: 15.34 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3808, allocations: 162.2 MB / 1.074 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001827/0.3827, allocations: 0.6033 MB / 1.075 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.3855, allocations: 1.182 MB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.3857, allocations: 0 / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.3857, allocations: 7.875 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3859, allocations: 23.84 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.3868, allocations: 127.2 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.3871, allocations: 155.6 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.3873, allocations: 33.09 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3875, allocations: 51.83 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3877, allocations: 63.69 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.3877, allocations: 8 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3879, allocations: 23.98 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.3879, allocations: 19.91 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.3881, allocations: 81.42 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3884, allocations: 151.7 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3884, allocations: 0 / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3884, allocations: 0 / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3884, allocations: 0 / 1.077 GB, free: 4.934 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.001034/0.3895, allocations: 432.8 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.3896, allocations: 12.03 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.3897, allocations: 12.84 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.3906, allocations: 268.2 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3907, allocations: 8.312 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.3908, allocations: 12.38 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.3912, allocations: 94.2 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3912, allocations: 3.938 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.3912, allocations: 0 / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3913, allocations: 8 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.3916, allocations: 51.95 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3929, allocations: 400.4 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3931, allocations: 38.56 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.3933, allocations: 24.97 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3934, allocations: 11.98 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.3938, allocations: 99.28 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.3938, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0008143/0.3946, allocations: 157.3 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.3947, allocations: 55.34 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.395, allocations: 147.5 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.395, allocations: 29.7 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3952, allocations: 116 kB / 1.079 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3952, allocations: 19.72 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.3953, allocations: 25.7 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3954, allocations: 322.8 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.3957, allocations: 55.95 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.396, allocations: 140.6 kB / 1.079 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.3967, allocations: 208.6 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3967, allocations: 4 kB / 1.079 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008662/0.3976, allocations: 254.8 kB / 1.079 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.3976, allocations: 37.69 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.3977, allocations: 4 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3977, allocations: 4 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3979, allocations: 32.3 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.398, allocations: 7.938 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.3984, allocations: 55.8 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.3985, allocations: 8 kB / 1.08 GB, free: 1.508 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.0001787/0.3987, allocations: 136 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3987, allocations: 11.89 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.3988, allocations: 12.72 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3988, allocations: 3.938 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.3988, allocations: 7.938 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3988, allocations: 0 / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.3998, allocations: 406.4 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3998, allocations: 0 / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.4, allocations: 19.98 kB / 1.08 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.4, allocations: 3.938 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4, allocations: 4.469 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4001, allocations: 3.938 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4001, allocations: 4 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.4008, allocations: 262.5 kB / 1.08 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.4009, allocations: 84.95 kB / 1.081 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.401, allocations: 8 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4011, allocations: 8.031 kB / 1.081 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.4012, allocations: 7.984 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4013, allocations: 8 kB / 1.081 GB, free: 448 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001213/0.4014, allocations: 104.6 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4014, allocations: 0 / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000522/0.4019, allocations: 27.98 kB / 1.081 GB, free: 316 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.0002583/0.4022, allocations: 107.2 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.4029, allocations: 187.9 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4029, allocations: 8.172 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.4031, allocations: 43.91 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.4036, allocations: 17.7 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.4044, allocations: 317.4 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4048, allocations: 0.7009 MB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.4049, allocations: 16.64 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.4049, allocations: 15.44 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.5e-07/0.405, allocations: 4 kB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.007396/0.4124, allocations: 1.517 MB / 1.084 GB, free: 13.33 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1)