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.001823/0.001823, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002396/0.002396, allocations: 213.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.403/3.403, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 68.08 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4058, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.0027/0.4085, allocations: 0.7219 MB / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.4107, allocations: 1.209 MB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.4108, allocations: 3.938 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.4109, allocations: 3.938 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.4109, allocations: 11.88 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.4117, allocations: 157.9 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.4119, allocations: 111.8 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4121, allocations: 15.97 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.4122, allocations: 43.91 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.4123, allocations: 43.88 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.4124, allocations: 12 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.4125, allocations: 23.98 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.4125, allocations: 11.94 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.4125, allocations: 35.91 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.4128, allocations: 115.6 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4128, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4128, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4128, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 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.000691/0.4135, allocations: 343.8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4135, allocations: 15.97 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4137, allocations: 4.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.4138, allocations: 122.4 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4138, allocations: 8.375 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.4138, allocations: 8.375 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.414, allocations: 62.22 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4141, allocations: 192 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4141, allocations: 7.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4141, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.4143, allocations: 55.88 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.4148, allocations: 248.5 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.415, allocations: 50.48 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.4151, allocations: 24.94 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4151, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.4154, allocations: 91.3 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/0.4154, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004754/0.4158, allocations: 137.6 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.4159, allocations: 51.41 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.416, allocations: 117.8 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.416, allocations: 29.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.4161, allocations: 92.2 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.4161, allocations: 23.78 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.4162, allocations: 45.64 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4164, allocations: 314.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.4166, allocations: 77.67 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.4167, allocations: 105.1 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.417, allocations: 137 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.417, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004755/0.4175, allocations: 225 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.4176, allocations: 37.69 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4176, allocations: 4.469 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4176, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4177, allocations: 19.92 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4177, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.4179, allocations: 39.98 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.4179, allocations: 11.92 kB / 1.33 GB, free: 12.68 MB / 1.029 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.0001239/0.4181, allocations: 122.3 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.4181, allocations: 7.953 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.4184, allocations: 118.2 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.4184, allocations: 3.984 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4184, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4184, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.4188, allocations: 298.2 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4188, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.4189, allocations: 11.98 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4189, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4189, allocations: 8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4189, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4189, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.4193, allocations: 215.3 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.4193, allocations: 3.938 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.4193, allocations: 7.984 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.026e-05/0.4194, allocations: 4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.4194, allocations: 7.984 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4194, allocations: 4 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.4195, allocations: 91.27 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4195, allocations: 0 / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002727/0.4198, allocations: 23.94 kB / 1.331 GB, free: 11.7 MB / 1.029 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.0001582/0.4199, allocations: 111.2 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.4203, allocations: 189.1 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4203, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4205, allocations: 31.92 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4207, allocations: 18.39 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.4212, allocations: 158.9 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.087e-05/0.4212, allocations: 71.33 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.4213, allocations: 4 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.4213, allocations: 15.44 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4213, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of Templates: time 0.004825/0.4261, allocations: 1.562 MB / 1.333 GB, free: 9.508 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.867009380832314]