Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, 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.001701/0.001701, allocations: 193 kB / 16.13 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.821/1.821, allocations: 205.1 MB / 222 MB, free: 4.746 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.607/1.607, allocations: 251.6 MB / 0.5088 GB, free: 3.375 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.001797/0.001797, allocations: 63.92 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.765, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002812/0.7679, allocations: 1.456 MB / 0.7252 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000407/0.7683, allocations: 196.2 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.7683, allocations: 0 / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.7684, allocations: 3.984 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.7685, allocations: 7.938 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.7686, allocations: 8 kB / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.7687, allocations: 35.86 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7688, allocations: 19.95 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.7689, allocations: 11.94 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.769, allocations: 19.86 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.769, allocations: 4 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.769, allocations: 4 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.769, allocations: 11.92 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.7691, allocations: 11.94 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.96e-05/0.7692, allocations: 35.88 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7692, allocations: 0 / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.51e-07/0.7692, allocations: 0 / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.7692, allocations: 0 / 0.7256 GB, free: 11.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005117/0.7697, allocations: 353.3 kB / 0.7259 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7698, allocations: 12.03 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.7698, allocations: 4.938 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.77, allocations: 168.3 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.77, allocations: 4.375 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.77, allocations: 8.359 kB / 0.7261 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.7702, allocations: 54.23 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7702, allocations: 4.125 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.7702, allocations: 3.938 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7702, allocations: 3.938 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.7704, allocations: 39.97 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.7708, allocations: 261 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.771, allocations: 46.48 kB / 0.7265 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.983e-05/0.7711, allocations: 28.94 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.7711, allocations: 3.938 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.7713, allocations: 63.39 kB / 0.7266 GB, free: 10.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.7713, allocations: 0 / 0.7266 GB, free: 10.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0003742/0.7717, allocations: 105.5 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.7717, allocations: 55.41 kB / 0.7268 GB, free: 9.977 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.7718, allocations: 105.8 kB / 0.7269 GB, free: 9.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.7719, allocations: 33.64 kB / 0.7269 GB, free: 9.824 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.7719, allocations: 84.14 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.7719, allocations: 7.844 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.772, allocations: 25.7 kB / 0.727 GB, free: 9.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7721, allocations: 314.8 kB / 0.7273 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.7722, allocations: 19.98 kB / 0.7273 GB, free: 9.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.7723, allocations: 38.55 kB / 0.7274 GB, free: 9.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.7725, allocations: 66.42 kB / 0.7274 GB, free: 9.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7725, allocations: 4 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002194/0.7728, allocations: 89.5 kB / 0.7275 GB, free: 9.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7728, allocations: 11.98 kB / 0.7275 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.7728, allocations: 0 / 0.7275 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7728, allocations: 0 / 0.7275 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.7729, allocations: 11.94 kB / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7729, allocations: 0 / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.773, allocations: 12.08 kB / 0.7276 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.773, allocations: 4 kB / 0.7276 GB, free: 9.105 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.583e-05/0.7731, allocations: 113.8 kB / 0.7277 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-06/0.7731, allocations: 4 kB / 0.7277 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.7731, allocations: 7.891 kB / 0.7277 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7731, allocations: 192 / 0.7277 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.7732, allocations: 4.125 kB / 0.7277 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7732, allocations: 7.984 kB / 0.7277 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.7736, allocations: 338.4 kB / 0.728 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7736, allocations: 7.938 kB / 0.728 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.7737, allocations: 7.984 kB / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7737, allocations: 0 / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.7737, allocations: 0 / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7737, allocations: 0 / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7737, allocations: 0 / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.774, allocations: 187.4 kB / 0.7282 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.774, allocations: 81.02 kB / 0.7283 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.774, allocations: 3.984 kB / 0.7283 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.7741, allocations: 4 kB / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.7742, allocations: 7.984 kB / 0.7283 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7742, allocations: 3.938 kB / 0.7283 GB, free: 8.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.7742, allocations: 91.27 kB / 0.7284 GB, free: 8.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7742, allocations: 0 / 0.7284 GB, free: 8.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002199/0.7745, allocations: 8 kB / 0.7284 GB, free: 8.137 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.000139/0.7746, allocations: 103.2 kB / 0.7285 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.7749, allocations: 51.89 kB / 0.7285 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7749, allocations: 0 / 0.7285 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.775, allocations: 24.17 kB / 0.7286 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.7753, allocations: 9.125 kB / 0.7286 GB, free: 7.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.7757, allocations: 127.3 kB / 0.7287 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.776, allocations: 0.6886 MB / 0.7294 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.776, allocations: 8 kB / 0.7294 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.7761, allocations: 7.438 kB / 0.7294 GB, free: 7.066 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.7761, allocations: 3.938 kB / 0.7294 GB, free: 7.062 MB / 0.545 GB Notification: Performance of Templates: time 0.00271/0.7788, allocations: 0.5035 MB / 0.7299 GB, free: 6.57 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)