Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008138/0.0008138, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007915/0.0007915, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.603/1.603, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.516e-06/3.516e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.555e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001597/0.001633, allocations: 0.7067 MB / 0.9524 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.002887, allocations: 1.221 MB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.002943, allocations: 0 / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.002973, allocations: 3.938 kB / 0.9536 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.8e-05/0.003041, allocations: 7.938 kB / 0.9536 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.003527, allocations: 151 kB / 0.9538 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.003678, allocations: 119.7 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.924e-05/0.003768, allocations: 11.98 kB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.003872, allocations: 67.88 kB / 0.9539 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.003948, allocations: 35.95 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.003968, allocations: 8 kB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.004032, allocations: 35.91 kB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.004054, allocations: 15.92 kB / 0.954 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.004101, allocations: 31.97 kB / 0.9541 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.004269, allocations: 127.7 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.004272, allocations: 7.938 kB / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004273, allocations: 0 / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004277, allocations: 0 / 0.9542 GB, free: 452 kB / 0.9011 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.0004525/0.004729, allocations: 331.8 kB / 0.9545 GB, free: 80 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.004765, allocations: 15.97 kB / 0.9545 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.004856, allocations: 12.89 kB / 0.9545 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.004946, allocations: 113.7 kB / 0.9547 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.00496, allocations: 8.359 kB / 0.9547 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.004977, allocations: 8.375 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.005117, allocations: 66.22 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005125, allocations: 192 / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.005134, allocations: 384 / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005139, allocations: 384 / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/0.005237, allocations: 55.83 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.005581, allocations: 244.5 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.005682, allocations: 46.55 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.005731, allocations: 28.88 kB / 0.9551 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.00575, allocations: 4 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.005917, allocations: 103.3 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.005918, allocations: 0 / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002713/0.00619, allocations: 133.6 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.006224, allocations: 55.39 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/0.006287, allocations: 113.8 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.006306, allocations: 33.64 kB / 0.9555 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.006348, allocations: 92.09 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.006366, allocations: 23.83 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.006412, allocations: 37.7 kB / 0.9557 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.006484, allocations: 314.8 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.006588, allocations: 81.66 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.006687, allocations: 105.1 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.006835, allocations: 133.5 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006837, allocations: 0 / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002499/0.007087, allocations: 236.8 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.007115, allocations: 33.7 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00712, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.007133, allocations: 7.938 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.007196, allocations: 15.92 kB / 0.9565 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.007201, allocations: 320 / 0.9565 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.007299, allocations: 40.02 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.007314, allocations: 8 kB / 0.9566 GB, free: 13.75 MB / 0.9167 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 6.656e-05/0.00738, allocations: 117.8 kB / 0.9567 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.007391, allocations: 11.89 kB / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.007568, allocations: 118 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.007571, allocations: 4 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.007575, allocations: 0 / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007579, allocations: 3.984 kB / 0.9568 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.007811, allocations: 298.2 kB / 0.9571 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007813, allocations: 4 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.007845, allocations: 11.92 kB / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.007848, allocations: 0 / 0.9571 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.007857, allocations: 8 kB / 0.9571 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007858, allocations: 0 / 0.9571 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.007859, allocations: 0 / 0.9571 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008027, allocations: 215.4 kB / 0.9573 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.008036, allocations: 15.89 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.008048, allocations: 0 / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.008089, allocations: 7.984 kB / 0.9574 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.008125, allocations: 3.984 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.008132, allocations: 8 kB / 0.9574 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.008169, allocations: 91.27 kB / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008169, allocations: 0 / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001787/0.008348, allocations: 20 kB / 0.9575 GB, free: 12.75 MB / 0.9167 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.000133/0.008481, allocations: 99.25 kB / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.008744, allocations: 196.9 kB / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008745, allocations: 288 / 0.9578 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-05/0.008808, allocations: 31.92 kB / 0.9578 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.009013, allocations: 23.86 kB / 0.9578 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.00932, allocations: 178.6 kB / 0.958 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.009369, allocations: 71.33 kB / 0.9581 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.009396, allocations: 16.5 kB / 0.9581 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.009396, allocations: 0 / 0.9581 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of Templates: time 0.00207/0.01147, allocations: 1.223 MB / 0.9593 GB, free: 10.87 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.250490606762469]