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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.746/2.746, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002048/0.002048, allocations: 63.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.7808, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002227/0.7831, allocations: 0.738 MB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.7847, allocations: 1.199 MB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.7848, allocations: 0 / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.7848, allocations: 3.938 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.116e-05/0.7849, allocations: 15.86 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.7854, allocations: 139.6 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.7856, allocations: 115.8 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.7856, allocations: 15.98 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.7857, allocations: 43.91 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.7858, allocations: 47.88 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.7859, allocations: 8 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.7859, allocations: 19.98 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.786, allocations: 19.92 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.786, allocations: 43.83 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.7862, allocations: 106.4 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7862, allocations: 4 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7862, allocations: 0 / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.7862, allocations: 0 / 1.276 GB, free: 2.07 MB / 0.9669 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.0006531/0.7869, allocations: 409 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.7869, allocations: 8.031 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.7869, allocations: 12.83 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.7871, allocations: 184.2 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.7871, allocations: 4.375 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.7871, allocations: 8.312 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.7873, allocations: 66.22 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7874, allocations: 4.188 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.7874, allocations: 3.938 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.7874, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.7876, allocations: 47.89 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.788, allocations: 320.7 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.7882, allocations: 54.55 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.7883, allocations: 24.94 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.7883, allocations: 0 / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.7886, allocations: 87.3 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.7886, allocations: 0 / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004488/0.789, allocations: 137.6 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.7891, allocations: 59.47 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.7892, allocations: 109.8 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.7892, allocations: 33.7 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.7893, allocations: 92.09 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7893, allocations: 11.89 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.369e-05/0.7894, allocations: 41.7 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7895, allocations: 326.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.7897, allocations: 47.97 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.7899, allocations: 71.39 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.7902, allocations: 137 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7902, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004572/0.7906, allocations: 199.2 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.7907, allocations: 38.16 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7907, allocations: 4 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7907, allocations: 4.062 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.7908, allocations: 11.98 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7908, allocations: 8.25 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.791, allocations: 35.84 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.791, allocations: 7.984 kB / 1.279 GB, free: 15.24 MB / 0.9825 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 0.000109/0.7911, allocations: 131 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.7911, allocations: 7.953 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.7915, allocations: 114 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7915, allocations: 12.02 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.7915, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.7915, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.7919, allocations: 358.5 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7919, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.792, allocations: 15.98 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.792, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.792, allocations: 4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.792, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.792, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.7924, allocations: 211.3 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.7924, allocations: 89.06 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.7924, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.7925, allocations: 7.984 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.7926, allocations: 15.92 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.7926, allocations: 4 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.7927, allocations: 87.28 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7927, allocations: 0 / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002645/0.7929, allocations: 27.92 kB / 1.28 GB, free: 14.06 MB / 0.9825 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.0001544/0.7931, allocations: 107.8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.7935, allocations: 151.3 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7935, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.7936, allocations: 39.91 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.7939, allocations: 10.25 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.7943, allocations: 178.5 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.7946, allocations: 0.6884 MB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.7947, allocations: 4 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.7947, allocations: 15.42 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.7947, allocations: 0 / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.004316/0.799, allocations: 1.414 MB / 1.283 GB, free: 11.41 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.641031417064369]