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.001651/0.001651, allocations: 117.6 kB / 16.42 MB, free: 6.496 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.001747/0.001747, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.735/2.735, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 63.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.9985, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002336/1.001, allocations: 0.7206 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001834/1.003, allocations: 1.19 MB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-05/1.003, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/1.003, allocations: 3.938 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.237e-05/1.003, allocations: 7.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008626/1.004, allocations: 146.9 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/1.004, allocations: 123.7 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/1.004, allocations: 19.98 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/1.004, allocations: 43.91 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/1.005, allocations: 47.86 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/1.005, allocations: 12 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/1.005, allocations: 27.98 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/1.005, allocations: 7.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/1.005, allocations: 43.83 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/1.005, allocations: 107.8 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.005, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/1.005, allocations: 3.938 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.657e-06/1.005, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 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.0007831/1.006, allocations: 406.8 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.006, allocations: 12.03 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/1.006, allocations: 12.78 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/1.006, allocations: 176.2 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/1.006, allocations: 4.375 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/1.006, allocations: 4.375 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/1.007, allocations: 66.22 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.007, allocations: 4.125 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.007, allocations: 3.938 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.007, allocations: 0 / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/1.007, allocations: 51.89 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/1.008, allocations: 320.7 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/1.008, allocations: 50.55 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.008, allocations: 36.92 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/1.008, allocations: 0 / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/1.008, allocations: 87.3 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/1.008, allocations: 0 / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004486/1.009, allocations: 133.5 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.009, allocations: 55.41 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/1.009, allocations: 117.8 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/1.009, allocations: 29.7 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/1.009, allocations: 96.09 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/1.009, allocations: 19.75 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/1.009, allocations: 33.7 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.009, allocations: 322.8 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/1.009, allocations: 55.91 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/1.01, allocations: 75.77 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/1.01, allocations: 133 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.01, allocations: 96 / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004306/1.01, allocations: 211.1 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/1.01, allocations: 33.7 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.01, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.01, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/1.01, allocations: 15.98 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.011, allocations: 3.938 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/1.011, allocations: 40.02 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.011, allocations: 4 kB / 1.213 GB, free: 8.219 MB / 0.9356 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.000116/1.011, allocations: 125.4 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/1.011, allocations: 7.906 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/1.011, allocations: 117.9 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.011, allocations: 0 / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.011, allocations: 3.938 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/1.011, allocations: 77.11 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/1.011, allocations: 8 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/1.011, allocations: 11.92 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/1.012, allocations: 3.984 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003488/1.012, allocations: 188.9 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003762/1.012, allocations: 283.1 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001154/1.012, allocations: 36.03 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.991e-05/1.012, allocations: 87.28 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of Backend: time 3.3e-07/1.012, allocations: 0 / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006221/1.013, allocations: 227.7 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005958/1.014, allocations: 0.601 MB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.00465/1.018, allocations: 1.51 MB / 1.217 GB, free: 4.844 MB / 0.9356 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