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.0008967/0.0008967, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009305/0.0009305, allocations: 169.9 kB / 25.18 MB, free: 9.109 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 0.8951/0.8951, allocations: 177.1 MB / 205.6 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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 1.89/1.89, allocations: 389.6 MB / 0.6364 GB, free: 12.19 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.042e-06/1.042e-06, allocations: 0 / 0.7755 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.846e-05, allocations: 7 kB / 0.7755 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001255/0.001273, allocations: 0.7748 MB / 0.7763 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002428, allocations: 1.238 MB / 0.7775 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.002463, allocations: 0 / 0.7775 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.002484, allocations: 3.938 kB / 0.7775 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.002524, allocations: 15.55 kB / 0.7775 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.002803, allocations: 143 kB / 0.7776 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.00292, allocations: 126 kB / 0.7778 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.002964, allocations: 7.938 kB / 0.7778 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.003034, allocations: 63.94 kB / 0.7778 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.00309, allocations: 39.88 kB / 0.7779 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.003108, allocations: 9.281 kB / 0.7779 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.003164, allocations: 31.92 kB / 0.7779 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.003179, allocations: 11.98 kB / 0.7779 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.003215, allocations: 40.64 kB / 0.778 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003323, allocations: 99.75 kB / 0.7781 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-06/0.003324, allocations: 2.531 kB / 0.7781 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.6e-07/0.003325, allocations: 0 / 0.7781 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.234e-06/0.003327, allocations: 0 / 0.7781 GB, free: 3.434 MB / 0.7292 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.0002537/0.003581, allocations: 298.4 kB / 0.7783 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.334e-05/0.003604, allocations: 9.344 kB / 0.7784 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.00367, allocations: 16.92 kB / 0.7784 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.494e-05/0.003725, allocations: 113.7 kB / 0.7785 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.003732, allocations: 7.125 kB / 0.7785 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.003744, allocations: 4.375 kB / 0.7785 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.83e-05/0.003813, allocations: 70.91 kB / 0.7786 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.003817, allocations: 4.188 kB / 0.7786 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-06/0.003822, allocations: 384 / 0.7786 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.003825, allocations: 384 / 0.7786 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.003846, allocations: 15.91 kB / 0.7786 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.004042, allocations: 194.7 kB / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.004086, allocations: 30.56 kB / 0.7788 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.323e-05/0.004099, allocations: 8.859 kB / 0.7788 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.004108, allocations: 4 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/0.004174, allocations: 68.17 kB / 0.7789 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.004174, allocations: 0 / 0.7789 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 8.828e-05/0.004263, allocations: 70.23 kB / 0.7789 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.004286, allocations: 55.41 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.004335, allocations: 111.6 kB / 0.7791 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.00435, allocations: 29.7 kB / 0.7791 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.004387, allocations: 101.5 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.004399, allocations: 11.91 kB / 0.7792 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.004442, allocations: 33.69 kB / 0.7793 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.004511, allocations: 322.8 kB / 0.7796 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.004554, allocations: 50.34 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.271e-05/0.004607, allocations: 85.05 kB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.614e-05/0.004673, allocations: 98.75 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.004674, allocations: 0 / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001175/0.004792, allocations: 161.8 kB / 0.7799 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.004813, allocations: 41.64 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.004816, allocations: 0.5 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.311e-06/0.004822, allocations: 5.562 kB / 0.78 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.004871, allocations: 15.92 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-06/0.004873, allocations: 0 / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.004942, allocations: 28.75 kB / 0.78 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.004953, allocations: 7.984 kB / 0.78 GB, free: 1.188 MB / 0.7292 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 5.088e-05/0.005003, allocations: 114.8 kB / 0.7802 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.005011, allocations: 4.094 kB / 0.7802 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.005079, allocations: 75.72 kB / 0.7802 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005081, allocations: 0 / 0.7802 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.005083, allocations: 3.984 kB / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005085, allocations: 0 / 0.7802 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.005208, allocations: 206.8 kB / 0.7804 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005209, allocations: 0.5 kB / 0.7804 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.005233, allocations: 13.08 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.005235, allocations: 3.938 kB / 0.7804 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.00524, allocations: 4 kB / 0.7805 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.00524, allocations: 0.6562 kB / 0.7805 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005241, allocations: 0 / 0.7805 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.881e-05/0.00532, allocations: 156.6 kB / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.005324, allocations: 0 / 0.7806 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.005337, allocations: 11.94 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.217e-05/0.005369, allocations: 0.6875 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.005387, allocations: 8.516 kB / 0.7806 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.005391, allocations: 0 / 0.7806 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.245e-05/0.005403, allocations: 17.38 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005403, allocations: 1.406 kB / 0.7806 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001384/0.005541, allocations: 27.95 kB / 0.7807 GB, free: 0.5039 MB / 0.7292 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 6.959e-05/0.005611, allocations: 88.94 kB / 0.7808 GB, free: 416 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.005731, allocations: 154.9 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.005734, allocations: 0 / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.005761, allocations: 25.33 kB / 0.7809 GB, free: 212 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.005873, allocations: 16.27 kB / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.006194, allocations: 195.5 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.006237, allocations: 73.27 kB / 0.7812 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.006314, allocations: 67.36 kB / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.006315, allocations: 0 / 0.7813 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.001526/0.007841, allocations: 1.232 MB / 0.7825 GB, free: 14.64 MB / 0.7448 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 > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.490345253609121]