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.0006807/0.0006807, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008898/0.001571, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006915/0.0006915, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008316/0.001523, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09541/1.107, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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 2.038/2.038, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5577/2.596, allocations: 127.1 MB / 0.7432 GB, free: 4.598 MB / 0.7136 GB " [Timeout remaining time 177] 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.964e-06/1.964e-06, allocations: 0 / 0.7444 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.102e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001292/0.001313, allocations: 0.7744 MB / 0.7452 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.002516, allocations: 1.25 MB / 0.7464 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.002561, allocations: 1.594 kB / 0.7464 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.002584, allocations: 3.938 kB / 0.7464 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.002629, allocations: 15.2 kB / 0.7464 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.002968, allocations: 141 kB / 0.7466 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.003125, allocations: 115.8 kB / 0.7467 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.003201, allocations: 4.875 kB / 0.7467 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.003312, allocations: 76.86 kB / 0.7468 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.003394, allocations: 37.89 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.003418, allocations: 13.09 kB / 0.7468 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.003503, allocations: 31.92 kB / 0.7468 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.003522, allocations: 8.594 kB / 0.7469 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.003562, allocations: 24 kB / 0.7469 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.0037, allocations: 83.73 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.003714, allocations: 1.625 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003715, allocations: 0 / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.003729, allocations: 0 / 0.747 GB, free: 0.8008 MB / 0.7136 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.0004591/0.004188, allocations: 314.1 kB / 0.7473 GB, free: 472 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.00422, allocations: 14.91 kB / 0.7473 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.004345, allocations: 93.97 kB / 0.7474 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.968e-05/0.004425, allocations: 109.7 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.004439, allocations: 8.312 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.004453, allocations: 8.375 kB / 0.7475 GB, free: 196 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.004557, allocations: 62.92 kB / 0.7475 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.004563, allocations: 192 / 0.7475 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004571, allocations: 8.312 kB / 0.7476 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.004575, allocations: 384 / 0.7476 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.004601, allocations: 11.88 kB / 0.7476 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.004893, allocations: 184.2 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.004961, allocations: 30.64 kB / 0.7478 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.004977, allocations: 12.84 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.004994, allocations: 0 / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.945e-05/0.005093, allocations: 63.47 kB / 0.7478 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.005095, allocations: 0 / 0.7478 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001449/0.00524, allocations: 80.47 kB / 0.7479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.005277, allocations: 55.41 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.005521, allocations: 114.6 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.00554, allocations: 33.7 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.00558, allocations: 92.08 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.005598, allocations: 15.89 kB / 0.7482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.005644, allocations: 33.69 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.005734, allocations: 318.8 kB / 0.7486 GB, free: 15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.005782, allocations: 57.19 kB / 0.7486 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.005839, allocations: 89.03 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.005942, allocations: 93.09 kB / 0.7488 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005944, allocations: 0 / 0.7488 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001302/0.006074, allocations: 164.9 kB / 0.7489 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.006113, allocations: 41.64 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.006119, allocations: 3.531 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.00613, allocations: 4 kB / 0.749 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.006209, allocations: 15.98 kB / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.006213, allocations: 320 / 0.749 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.006293, allocations: 23.94 kB / 0.749 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.006306, allocations: 7.984 kB / 0.749 GB, free: 14.45 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 7.206e-05/0.006378, allocations: 121.7 kB / 0.7491 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.006388, allocations: 6.844 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-05/0.006481, allocations: 70.03 kB / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006483, allocations: 0 / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006486, allocations: 3.984 kB / 0.7492 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006489, allocations: 0 / 0.7492 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.006629, allocations: 214.7 kB / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00663, allocations: 0 / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.006667, allocations: 11.98 kB / 0.7494 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.006673, allocations: 4.906 kB / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006674, allocations: 0 / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.00668, allocations: 4 kB / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006681, allocations: 1.156 kB / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006682, allocations: 0 / 0.7495 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.006875, allocations: 155.5 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.006889, allocations: 4.938 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.006923, allocations: 3.984 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.006946, allocations: 4.594 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.00695, allocations: 0 / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.669e-05/0.006967, allocations: 25.33 kB / 0.7496 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006967, allocations: 0.5938 kB / 0.7496 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000141/0.007108, allocations: 23.95 kB / 0.7497 GB, free: 13.76 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 0.0001009/0.007209, allocations: 85.91 kB / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.007348, allocations: 150.5 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.007352, allocations: 0 / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.007378, allocations: 25.41 kB / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.007526, allocations: 21.14 kB / 0.7499 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.008143, allocations: 169.5 kB / 0.7501 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.008181, allocations: 60.28 kB / 0.7501 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.008205, allocations: 4 kB / 0.7502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.008278, allocations: 68.25 kB / 0.7502 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/0.008279, allocations: 0 / 0.7502 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.003221/0.0115, allocations: 1.656 MB / 0.7518 GB, free: 11.55 MB / 0.7292 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: 5.158695877529681]