Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001185/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001609/0.001609, allocations: 191.9 kB / 16.14 MB, free: 6.688 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 63.81 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4395, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002048/0.4416, allocations: 0.7762 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.443, allocations: 1.205 MB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.4431, allocations: 0 / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.4431, allocations: 0 / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.4432, allocations: 11.94 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.4437, allocations: 131.4 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.4438, allocations: 103.8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.4439, allocations: 8 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.444, allocations: 43.89 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.4441, allocations: 39.89 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.4441, allocations: 15.94 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-05/0.4442, allocations: 19.92 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.4442, allocations: 7.984 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.4443, allocations: 47.83 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.4445, allocations: 103.7 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4445, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.51e-07/0.4445, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4445, allocations: 0 / 1.07 GB, free: 8.371 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.0005654/0.445, allocations: 405.3 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.4451, allocations: 12.03 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.4451, allocations: 8.844 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.4453, allocations: 176.3 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4453, allocations: 8.375 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.4453, allocations: 4.375 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.4455, allocations: 74.14 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4455, allocations: 192 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4455, allocations: 3.938 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4455, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.4457, allocations: 47.95 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4462, allocations: 320.8 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.4464, allocations: 54.48 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.4465, allocations: 28.94 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.4465, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4467, allocations: 83.36 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4467, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004406/0.4472, allocations: 153.5 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4472, allocations: 51.41 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.4473, allocations: 113.8 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.4473, allocations: 34.08 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.4474, allocations: 92.05 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4474, allocations: 11.8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.4475, allocations: 37.7 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4476, allocations: 330.7 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.4478, allocations: 51.91 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.4479, allocations: 71.39 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.4482, allocations: 133 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.4482, allocations: 4 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004161/0.4486, allocations: 195.2 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.4487, allocations: 41.69 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4487, allocations: 3.938 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4487, allocations: 4 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.4488, allocations: 16.05 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4488, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.449, allocations: 31.95 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.4491, allocations: 4 kB / 1.072 GB, free: 5.543 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 9.67e-05/0.4492, allocations: 125.7 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.4492, allocations: 11.91 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.4495, allocations: 121.9 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4495, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4495, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4495, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.4499, allocations: 354.5 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4499, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.45, allocations: 19.92 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.45, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.45, allocations: 8.094 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.45, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.45, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.4503, allocations: 207.4 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.4504, allocations: 81.02 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4504, allocations: 7.984 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.4505, allocations: 4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.4506, allocations: 15.92 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.4506, allocations: 4 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.4506, allocations: 91.3 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4506, allocations: 3.938 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002544/0.4509, allocations: 20 kB / 1.073 GB, free: 4.383 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.0001588/0.4511, allocations: 103.2 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.4514, allocations: 175.3 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4514, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4516, allocations: 35.97 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.4519, allocations: 13.23 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.4522, allocations: 176.4 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4525, allocations: 0.6848 MB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.4525, allocations: 7.984 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.4526, allocations: 7.438 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4526, allocations: 7.938 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of Templates: time 0.003711/0.4563, allocations: 1.287 MB / 1.076 GB, free: 1.84 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1)