Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.00143, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001788/0.001788, allocations: 200.1 kB / 16.26 MB, free: 6.621 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.765/1.765, allocations: 222.9 MB / 239.9 MB, free: 4.574 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: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.64 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4337, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00228/0.436, allocations: 0.7853 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4376, allocations: 1.19 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.4377, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.4377, allocations: 3.938 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.4378, allocations: 15.86 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.4384, allocations: 126.9 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.4385, allocations: 115.8 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4387, allocations: 23.97 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.4388, allocations: 43.91 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.4389, allocations: 39.83 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.4389, allocations: 15.98 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.081e-05/0.439, allocations: 20 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.439, allocations: 11.98 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.4391, allocations: 39.84 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4393, allocations: 107.7 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4393, allocations: 4 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4393, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.4393, allocations: 0 / 1.07 GB, free: 8.262 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006669/0.44, allocations: 413.2 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.44, allocations: 15.97 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.4401, allocations: 8.844 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4402, allocations: 172.3 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4403, allocations: 4.375 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.4403, allocations: 12.38 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.4405, allocations: 62.22 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4405, allocations: 192 / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.4406, allocations: 7.938 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4406, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.4408, allocations: 43.89 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.4413, allocations: 320.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.4415, allocations: 50.55 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.4416, allocations: 28.94 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4417, allocations: 3.984 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.4419, allocations: 95.36 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4419, allocations: 0 / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004752/0.4424, allocations: 133.5 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4425, allocations: 55.41 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4426, allocations: 121.7 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4426, allocations: 29.7 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.4427, allocations: 96.03 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4428, allocations: 23.73 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.4429, allocations: 37.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.443, allocations: 318.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.4432, allocations: 47.97 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.4434, allocations: 79.39 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4437, allocations: 129 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4437, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004472/0.4441, allocations: 199.2 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.4442, allocations: 37.69 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4442, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.4442, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4443, allocations: 19.86 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4444, allocations: 4 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4446, allocations: 36.02 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.4446, allocations: 8 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.000115/0.4447, allocations: 125.7 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4448, allocations: 3.906 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.4451, allocations: 122.2 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4451, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4451, allocations: 0 / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4451, allocations: 4 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.4456, allocations: 362.5 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4456, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.4457, allocations: 11.98 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4457, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4457, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4457, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4457, allocations: 0 / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.446, allocations: 207.4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.4461, allocations: 93 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4461, allocations: 480 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.4462, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.4463, allocations: 11.92 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4463, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.912e-05/0.4464, allocations: 99.2 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4464, allocations: 0 / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000256/0.4466, allocations: 24 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001673/0.4468, allocations: 99.25 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4472, allocations: 175.2 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4472, allocations: 128 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4474, allocations: 39.91 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.4477, allocations: 15.98 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.4481, allocations: 174.5 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.4483, allocations: 0.6924 MB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.4484, allocations: 0 / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.4484, allocations: 15.38 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4484, allocations: 0 / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of Templates: time 0.004339/0.4528, allocations: 1.336 MB / 1.076 GB, free: 1.676 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1)