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.0009467/0.0009467, allocations: 80.92 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.0009822/0.0009822, allocations: 161 kB / 24.17 MB, free: 328 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.061/1.061, allocations: 177.1 MB / 204.6 MB, free: 5.465 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 2.006/2.006, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.815e-06/2.815e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.127e-05, allocations: 10.38 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002433/0.002465, allocations: 0.7904 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.004326, allocations: 1.247 MB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.004384, allocations: 5.125 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.00442, allocations: 7.922 kB / 0.762 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.004511, allocations: 7.766 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.005053, allocations: 147.2 kB / 0.7622 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.005252, allocations: 121.2 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.005338, allocations: 11.94 kB / 0.7623 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.005475, allocations: 68.64 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005575, allocations: 35.89 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.005604, allocations: 12.53 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.0057, allocations: 31.97 kB / 0.7625 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.00572, allocations: 4.688 kB / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.005772, allocations: 35.89 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.005948, allocations: 104.9 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005951, allocations: 0 / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005952, allocations: 0 / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005956, allocations: 1.219 kB / 0.7626 GB, free: 4.031 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.0004549/0.006411, allocations: 302.5 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.006453, allocations: 8.031 kB / 0.7629 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.006572, allocations: 13.67 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.006672, allocations: 113.8 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.006691, allocations: 9.109 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.00671, allocations: 8.375 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.006842, allocations: 67.67 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006851, allocations: 2.312 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.006858, allocations: 4.312 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.006865, allocations: 384 / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.006899, allocations: 15.92 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.007226, allocations: 176.2 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.007298, allocations: 31.97 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.007318, allocations: 12.8 kB / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.007332, allocations: 0 / 0.7633 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.007445, allocations: 72.7 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.007446, allocations: 0 / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001571/0.007603, allocations: 65.61 kB / 0.7635 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.007643, allocations: 61.11 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.00772, allocations: 118.7 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.00774, allocations: 25.7 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.007784, allocations: 92.08 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.007804, allocations: 15.91 kB / 0.7638 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.007874, allocations: 40.92 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.007974, allocations: 318.8 kB / 0.7641 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.008044, allocations: 45.69 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.008122, allocations: 85.05 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.008227, allocations: 89.03 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008229, allocations: 0 / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.008438, allocations: 175.8 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.008472, allocations: 33.64 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.008479, allocations: 4 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.008493, allocations: 0 / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.008573, allocations: 11.98 kB / 0.7645 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.008578, allocations: 4 kB / 0.7645 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.008692, allocations: 29.42 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.008714, allocations: 8.297 kB / 0.7646 GB, free: 1.801 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 9.136e-05/0.008805, allocations: 117.1 kB / 0.7647 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.008821, allocations: 4.625 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.008943, allocations: 69.97 kB / 0.7647 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.008948, allocations: 8.641 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.00895, allocations: 96 / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.008955, allocations: 4.859 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.009154, allocations: 206.8 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009156, allocations: 2.688 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.009203, allocations: 11.92 kB / 0.765 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.009206, allocations: 3.938 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.009217, allocations: 8 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009218, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.00922, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.009343, allocations: 151.5 kB / 0.7651 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.00935, allocations: 3.125 kB / 0.7651 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.009368, allocations: 3.938 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.009437, allocations: 7.984 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.009471, allocations: 8 kB / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.009479, allocations: 3.984 kB / 0.7652 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.19e-05/0.0095, allocations: 16.8 kB / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.009501, allocations: 0 / 0.7652 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002553/0.009756, allocations: 24 kB / 0.7652 GB, free: 1.109 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.0001289/0.009885, allocations: 85.09 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01007, allocations: 155 kB / 0.7654 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01007, allocations: 0 / 0.7654 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.01011, allocations: 23.28 kB / 0.7654 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01033, allocations: 17.88 kB / 0.7655 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.01083, allocations: 166.7 kB / 0.7656 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.01088, allocations: 59.34 kB / 0.7657 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.01091, allocations: 4 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01102, allocations: 71.36 kB / 0.7657 GB, free: 480 kB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.01102, allocations: 0 / 0.7657 GB, free: 480 kB / 0.7136 GB Notification: Performance of Templates: time 0.00429/0.01531, allocations: 1.6 MB / 0.7673 GB, free: 14.96 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 -s gbode -gbm=radauIIA3 -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.393258016556501]