Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 109.1 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 59.91 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002419/1.083, allocations: 0.7211 MB / 1.222 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001711/1.085, allocations: 1.186 MB / 1.223 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/1.085, allocations: 0 / 1.223 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/1.085, allocations: 7.922 kB / 1.223 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.288e-05/1.086, allocations: 15.81 kB / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/1.086, allocations: 142.9 kB / 1.223 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/1.086, allocations: 115.8 kB / 1.223 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/1.086, allocations: 19.97 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/1.087, allocations: 47.91 kB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/1.087, allocations: 47.81 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/1.087, allocations: 12 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/1.087, allocations: 28.03 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/1.087, allocations: 11.88 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/1.087, allocations: 51.77 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/1.087, allocations: 103.8 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.087, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.984e-06/1.087, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.087, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9512 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.0009647/1.088, allocations: 410.7 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/1.088, allocations: 8.031 kB / 1.224 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/1.088, allocations: 8.938 kB / 1.224 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/1.089, allocations: 172.2 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/1.089, allocations: 4.375 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/1.089, allocations: 12.3 kB / 1.224 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/1.089, allocations: 70.16 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.089, allocations: 192 / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/1.089, allocations: 3.938 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.089, allocations: 4 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/1.089, allocations: 43.95 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/1.09, allocations: 328.7 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/1.09, allocations: 54.48 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/1.09, allocations: 24.94 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/1.09, allocations: 4 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/1.091, allocations: 87.27 kB / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/1.091, allocations: 0 / 1.225 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0005174/1.091, allocations: 133.6 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.091, allocations: 59.39 kB / 1.225 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.091, allocations: 125.6 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/1.091, allocations: 29.7 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/1.092, allocations: 92.2 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/1.092, allocations: 19.73 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/1.092, allocations: 33.7 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.092, allocations: 318.8 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/1.092, allocations: 51.95 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/1.092, allocations: 79.39 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/1.092, allocations: 125 kB / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.092, allocations: 4 kB / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004513/1.093, allocations: 195.2 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/1.093, allocations: 45.62 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.093, allocations: 0 / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.093, allocations: 4 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.093, allocations: 11.98 kB / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.093, allocations: 0 / 1.226 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.093, allocations: 32.12 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.093, allocations: 11.98 kB / 1.226 GB, free: 13 MB / 0.9512 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.0001237/1.094, allocations: 133.6 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/1.094, allocations: 7.906 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/1.094, allocations: 110 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.094, allocations: 3.984 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.094, allocations: 4 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/1.094, allocations: 81.02 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/1.094, allocations: 8 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/1.094, allocations: 11.92 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/1.094, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003428/1.095, allocations: 188.9 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003601/1.095, allocations: 284.1 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001194/1.095, allocations: 35.97 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.755e-05/1.095, allocations: 87.73 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/1.095, allocations: 0 / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006755/1.096, allocations: 229.7 kB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007055/1.096, allocations: 0.6089 MB / 1.228 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of Templates: time 0.004385/1.101, allocations: 1.505 MB / 1.229 GB, free: 9.621 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches