Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001182/0.001182, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189/1.19, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002504/1.193, allocations: 0.7508 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001824/1.194, allocations: 1.166 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/1.195, allocations: 7.875 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/1.195, allocations: 3.938 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/1.195, allocations: 7.875 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/1.195, allocations: 144.6 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/1.196, allocations: 127.8 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/1.196, allocations: 24.17 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/1.196, allocations: 47.91 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/1.196, allocations: 55.8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/1.196, allocations: 8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/1.196, allocations: 27.98 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/1.196, allocations: 11.94 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/1.196, allocations: 47.83 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/1.197, allocations: 123.6 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.197, allocations: 4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.923e-06/1.197, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.844e-06/1.197, allocations: 4 kB / 1.211 GB, free: 11.12 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000766/1.197, allocations: 414.7 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.197, allocations: 8.031 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/1.198, allocations: 12.78 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.198, allocations: 168.3 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/1.198, allocations: 8.359 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/1.198, allocations: 12.38 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/1.198, allocations: 74.16 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.198, allocations: 3.938 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.198, allocations: 4 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.198, allocations: 0 / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/1.198, allocations: 43.95 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/1.199, allocations: 348.5 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/1.199, allocations: 66.55 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.199, allocations: 24.97 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.199, allocations: 7.984 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/1.2, allocations: 91.36 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/1.2, allocations: 7.938 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004753/1.2, allocations: 141.6 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.2, allocations: 55.41 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.2, allocations: 125.7 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.2, allocations: 29.64 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/1.2, allocations: 92.12 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/1.2, allocations: 27.7 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/1.2, allocations: 41.69 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.201, allocations: 318.8 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/1.201, allocations: 51.95 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.201, allocations: 93.05 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/1.201, allocations: 150.8 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.201, allocations: 3.938 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004605/1.202, allocations: 215.1 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/1.202, allocations: 43.88 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.202, allocations: 4 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.202, allocations: 0 / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/1.202, allocations: 15.98 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.202, allocations: 3.938 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/1.202, allocations: 36.06 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/1.202, allocations: 15.98 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001082/1.202, allocations: 121.8 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/1.202, allocations: 7.906 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/1.203, allocations: 125.9 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.203, allocations: 0 / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.203, allocations: 4 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/1.203, allocations: 81.02 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/1.203, allocations: 7.938 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/1.203, allocations: 7.984 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/1.203, allocations: 7.984 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003359/1.203, allocations: 200.9 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003578/1.204, allocations: 283.2 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001175/1.204, allocations: 40.03 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.132e-05/1.204, allocations: 95.2 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of Backend: time 3.51e-07/1.204, allocations: 4 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006609/1.204, allocations: 233.7 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006342/1.205, allocations: 0.6088 MB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.004731/1.21, allocations: 1.563 MB / 1.217 GB, free: 4.66 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches