Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 80.55 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.663/1.663, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.247/3.247, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.998e-05/4.321e-05, allocations: 9.453 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00212/0.002164, allocations: 0.7099 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.00416, allocations: 1.221 MB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.004225, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.004259, allocations: 3.938 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.004365, allocations: 19.84 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.004937, allocations: 138.6 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.005158, allocations: 123.7 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.005276, allocations: 11.94 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.005427, allocations: 71.88 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.005538, allocations: 35.94 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.005573, allocations: 12 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.279e-05/0.005666, allocations: 31.91 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.005696, allocations: 11.94 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.005775, allocations: 35.95 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.006031, allocations: 135.6 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.006035, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006036, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.006041, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 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.0007098/0.006751, allocations: 331.8 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.006795, allocations: 9.344 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.006899, allocations: 8.938 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.007021, allocations: 113.7 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.007046, allocations: 12.31 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.007067, allocations: 4.375 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.0073, allocations: 66.22 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.00731, allocations: 192 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.007322, allocations: 384 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.007326, allocations: 384 / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.007526, allocations: 51.89 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.008016, allocations: 244.5 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.008206, allocations: 54.48 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.008312, allocations: 28.92 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.008335, allocations: 0 / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.008575, allocations: 95.36 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.008576, allocations: 0 / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004935/0.00907, allocations: 133.6 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.009139, allocations: 55.41 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.009269, allocations: 125.7 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.009303, allocations: 25.7 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.009381, allocations: 92.12 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.009415, allocations: 23.83 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.009494, allocations: 37.7 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.009694, allocations: 322.8 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.009892, allocations: 81.66 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.01011, allocations: 109.1 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.01042, allocations: 133 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01042, allocations: 4 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000508/0.01093, allocations: 232.8 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.01098, allocations: 37.69 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01099, allocations: 0 / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.01102, allocations: 4 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01113, allocations: 11.98 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01113, allocations: 0 / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.01135, allocations: 43.97 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.01137, allocations: 8 kB / 1.006 GB, free: 7.789 MB / 0.9636 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.0001299/0.0115, allocations: 117.8 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.01152, allocations: 7.938 kB / 1.006 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.01186, allocations: 118.1 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01187, allocations: 0 / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.01187, allocations: 0 / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01187, allocations: 4 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005031/0.01238, allocations: 306 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01238, allocations: 0 / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.01244, allocations: 11.98 kB / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01245, allocations: 0 / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01246, allocations: 0 / 1.007 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01246, allocations: 3.984 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01246, allocations: 0 / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.01281, allocations: 207.4 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01283, allocations: 11.89 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.01285, allocations: 7.938 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.01295, allocations: 7.984 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.013, allocations: 8.406 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01301, allocations: 7.984 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.01308, allocations: 87.22 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01308, allocations: 0 / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002659/0.01334, allocations: 24 kB / 1.007 GB, free: 6.809 MB / 0.9636 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.0001827/0.01353, allocations: 107.2 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.01397, allocations: 189.5 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01397, allocations: 0 / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.0141, allocations: 35.97 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.0144, allocations: 20.06 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.01479, allocations: 156.9 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.77e-05/0.01488, allocations: 67.34 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.01492, allocations: 7.984 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.01495, allocations: 8.5 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01495, allocations: 4 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of Templates: time 0.005327/0.02027, allocations: 1.505 MB / 1.009 GB, free: 4.688 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.170718132518232]