Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001186/0.001186, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001234/0.001234, allocations: 165 kB / 24.16 MB, free: 332 kB / 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.006/1.006, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.942/1.942, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.709e-05, allocations: 4.781 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002364/0.002391, allocations: 0.7397 MB / 0.7607 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.004376, allocations: 1.252 MB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.004435, allocations: 1.594 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.004469, allocations: 3.938 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.885e-05/0.004568, allocations: 7.656 kB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.005131, allocations: 146 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.00534, allocations: 114.6 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.005436, allocations: 19.92 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.005594, allocations: 71.48 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.005693, allocations: 35.89 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.005721, allocations: 9.312 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.005805, allocations: 31.97 kB / 0.7624 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.005831, allocations: 8 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.005888, allocations: 35.91 kB / 0.7624 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.006077, allocations: 97.08 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.00608, allocations: 0 / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006081, allocations: 0 / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.006085, allocations: 1.25 kB / 0.7625 GB, free: 4.117 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.0005147/0.0066, allocations: 306.4 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.006645, allocations: 16.02 kB / 0.7628 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.006779, allocations: 10.19 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.006889, allocations: 117.7 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.006908, allocations: 4.375 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.00693, allocations: 4.375 kB / 0.7629 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.007081, allocations: 67.77 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.007091, allocations: 0.7188 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.007102, allocations: 4.359 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.007109, allocations: 5.375 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.007142, allocations: 11.88 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.007529, allocations: 181.2 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.007613, allocations: 31.77 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.007634, allocations: 12.86 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.00765, allocations: 0 / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.007776, allocations: 68.06 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.007777, allocations: 0 / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001646/0.007942, allocations: 74.33 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.007982, allocations: 55.41 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.008066, allocations: 119.4 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.008091, allocations: 29.7 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.008136, allocations: 94.08 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.008158, allocations: 15.89 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.008224, allocations: 33.69 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.008329, allocations: 318.8 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.008403, allocations: 53.67 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.008484, allocations: 77.56 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.00865, allocations: 94.48 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.008655, allocations: 0 / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001908/0.008846, allocations: 164.2 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.008878, allocations: 37.64 kB / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008883, allocations: 0 / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.008898, allocations: 0 / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.008982, allocations: 23.92 kB / 0.7644 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.008985, allocations: 0 / 0.7644 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.00907, allocations: 27.91 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.009085, allocations: 7.031 kB / 0.7645 GB, free: 1.883 MB / 0.7136 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.232e-05/0.009157, allocations: 113.8 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.009169, allocations: 7.984 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.009266, allocations: 66.3 kB / 0.7646 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.009268, allocations: 4 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.009271, allocations: 4 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009274, allocations: 0 / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.009421, allocations: 212.3 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009422, allocations: 0 / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.009455, allocations: 11.98 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.009458, allocations: 7.875 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.009464, allocations: 5.406 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.009465, allocations: 0 / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009466, allocations: 0 / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.88e-05/0.009545, allocations: 147.5 kB / 0.765 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.009551, allocations: 5.281 kB / 0.765 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.009566, allocations: 3.938 kB / 0.765 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.009603, allocations: 11.98 kB / 0.765 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.00963, allocations: 4.656 kB / 0.765 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.009635, allocations: 3.984 kB / 0.765 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.668e-05/0.009652, allocations: 13.48 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009652, allocations: 0 / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001467/0.009798, allocations: 20.66 kB / 0.7651 GB, free: 1.199 MB / 0.7136 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.0001108/0.009909, allocations: 93.47 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01005, allocations: 152.3 kB / 0.7653 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01006, allocations: 7.938 kB / 0.7653 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.01008, allocations: 20.84 kB / 0.7653 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.01023, allocations: 12.73 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.01063, allocations: 167.4 kB / 0.7655 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.01066, allocations: 59.34 kB / 0.7656 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.01068, allocations: 4 kB / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.01076, allocations: 67.36 kB / 0.7656 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.01076, allocations: 0 / 0.7656 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of Templates: time 0.003054/0.01381, allocations: 1.616 MB / 0.7672 GB, free: 15.03 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.231881455983967]