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.001341/0.001341, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001456/0.001456, allocations: 205.2 kB / 23 MB, free: 4.934 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.235/3.235, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002065/0.002065, allocations: 69.86 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4085, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002689/0.4111, allocations: 0.7122 MB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.4137, allocations: 1.213 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.4138, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.4139, allocations: 3.938 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.414, allocations: 3.938 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.4147, allocations: 150.9 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.415, allocations: 115.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.4151, allocations: 11.98 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.4153, allocations: 47.89 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.4154, allocations: 43.89 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.4154, allocations: 12 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.4155, allocations: 27.98 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.4156, allocations: 15.91 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.4157, allocations: 31.92 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.416, allocations: 119.5 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.416, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.364e-06/0.416, allocations: 8 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.416, allocations: 0 / 1.33 GB, free: 14.5 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.0008838/0.4169, allocations: 335.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/0.4169, allocations: 11.97 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.4171, allocations: 8.922 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4173, allocations: 118.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.4173, allocations: 4.375 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.4173, allocations: 16.36 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.4176, allocations: 62.22 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4176, allocations: 8.125 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.4176, allocations: 7.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.4178, allocations: 39.95 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.4185, allocations: 248.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4187, allocations: 50.48 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4188, allocations: 32.88 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.4188, allocations: 7.984 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.4192, allocations: 91.36 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.4192, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005351/0.4197, allocations: 137.6 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4198, allocations: 55.34 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4199, allocations: 113.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.4199, allocations: 33.7 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.42, allocations: 92.12 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4201, allocations: 23.78 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.4201, allocations: 33.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4203, allocations: 318.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.4205, allocations: 77.67 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.4207, allocations: 105.1 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.421, allocations: 141.5 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4211, allocations: 3.938 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004897/0.4215, allocations: 221 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.4216, allocations: 41.69 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4216, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4216, allocations: 3.938 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4217, allocations: 23.98 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4218, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.422, allocations: 31.92 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.422, allocations: 11.98 kB / 1.332 GB, free: 11.8 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.0001801/0.4222, allocations: 124.8 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.4222, allocations: 7.953 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.4225, allocations: 117.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4226, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4226, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.4226, allocations: 8 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4226, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.4226, allocations: 7.984 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.4227, allocations: 11.92 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003544/0.4231, allocations: 184.9 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003909/0.4234, allocations: 286.6 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001137/0.4236, allocations: 40.05 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.4236, allocations: 83.28 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of Backend: time 4.61e-07/0.4236, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000724/0.4243, allocations: 244.5 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008033/0.4252, allocations: 0.6131 MB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of Templates: time 0.005545/0.4307, allocations: 1.786 MB / 1.335 GB, free: 8.234 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/jenkins1/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.179458175000036]