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.002073/0.002073, 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.002796/0.002796, allocations: 195.4 kB / 16.14 MB, free: 6.695 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.588/1.588, allocations: 222.9 MB / 239.8 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 3.163/3.163, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 58.44 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4688, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002568/0.4714, allocations: 0.7852 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.4731, allocations: 1.205 MB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.4732, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.4733, allocations: 3.938 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.4734, allocations: 7.938 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.4739, allocations: 126.9 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.4741, allocations: 111.8 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4742, allocations: 11.98 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4743, allocations: 39.91 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.189e-05/0.4744, allocations: 35.89 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.4744, allocations: 8 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.4745, allocations: 19.98 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.4746, allocations: 15.91 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.4746, allocations: 35.91 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.4749, allocations: 107.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4749, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4749, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.4749, allocations: 0 / 1.07 GB, free: 8.398 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.0007269/0.4756, allocations: 410.9 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4757, allocations: 8.031 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.4757, allocations: 8.844 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.4759, allocations: 180.2 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.4759, allocations: 4.375 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.4759, allocations: 12.38 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.4761, allocations: 62.22 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4762, allocations: 4.172 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.4762, allocations: 7.938 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4762, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.4764, allocations: 39.95 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.4769, allocations: 328.7 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4771, allocations: 50.55 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/0.4772, allocations: 28.88 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.4772, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.4775, allocations: 91.3 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.4775, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004663/0.478, allocations: 141.6 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.478, allocations: 51.41 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.4781, allocations: 117.8 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4781, allocations: 33.7 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.4782, allocations: 95.98 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.4782, allocations: 15.8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.4783, allocations: 37.7 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4784, allocations: 318.8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.4786, allocations: 51.91 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.4788, allocations: 79.39 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.4791, allocations: 129 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4791, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004342/0.4795, allocations: 203.2 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.4796, allocations: 37.69 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4796, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4796, allocations: 4 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4797, allocations: 11.98 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4797, allocations: 3.938 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.48, allocations: 40.02 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.48, allocations: 4 kB / 1.072 GB, free: 5.566 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.0001004/0.4801, allocations: 129.1 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.4801, allocations: 7.906 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.4804, allocations: 122.3 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4805, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4805, allocations: 480 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4805, allocations: 4 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.4809, allocations: 362.4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4809, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.481, allocations: 11.98 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.481, allocations: 3.938 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.481, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.481, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.481, allocations: 0 / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.4814, allocations: 207.4 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.4814, allocations: 81.02 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.4814, allocations: 7.984 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.4815, allocations: 4.094 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.4816, allocations: 19.84 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4816, allocations: 8 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.4817, allocations: 87.27 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4817, allocations: 0 / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002648/0.4819, allocations: 24 kB / 1.073 GB, free: 4.402 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.0001575/0.4821, allocations: 99.25 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4825, allocations: 167.3 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4825, allocations: 4.125 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4827, allocations: 43.91 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.483, allocations: 14.23 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.4834, allocations: 172.3 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4836, allocations: 0.6848 MB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.969e-05/0.4837, allocations: 7.984 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.4837, allocations: 7.438 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4837, allocations: 0 / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of Templates: time 0.004172/0.4879, allocations: 1.294 MB / 1.076 GB, free: 1.863 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)