Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7634 GB, free: 15.22 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=511,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 1.108 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 168.7 MB / 1.272 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002115/1.156, allocations: 0.7613 MB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001517/1.157, allocations: 1.164 MB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/1.157, allocations: 0.75 kB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/1.157, allocations: 4.641 kB / 1.274 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/1.157, allocations: 14.84 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005668/1.158, allocations: 139.3 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/1.158, allocations: 126.6 kB / 1.275 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/1.158, allocations: 14.2 kB / 1.275 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/1.158, allocations: 52.14 kB / 1.275 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/1.158, allocations: 52.52 kB / 1.275 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/1.158, allocations: 11.09 kB / 1.275 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/1.159, allocations: 23.83 kB / 1.275 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/1.159, allocations: 18.31 kB / 1.275 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/1.159, allocations: 50.05 kB / 1.275 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/1.159, allocations: 117.1 kB / 1.275 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.159, allocations: 4 kB / 1.275 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.159, allocations: 0.9375 kB / 1.275 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.159, allocations: 0 / 1.275 GB, free: 6.371 MB / 0.9981 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.0005754/1.159, allocations: 421.2 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.159, allocations: 9.781 kB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/1.16, allocations: 14.48 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.748e-05/1.16, allocations: 178.5 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.16, allocations: 8.625 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/1.16, allocations: 13.56 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/1.16, allocations: 74.69 kB / 1.276 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.16, allocations: 5.188 kB / 1.276 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.16, allocations: 0 / 1.276 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.16, allocations: 1.25 kB / 1.276 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/1.16, allocations: 50.28 kB / 1.276 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/1.161, allocations: 343.4 kB / 1.276 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/1.161, allocations: 56.8 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.904e-05/1.161, allocations: 28.89 kB / 1.276 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/1.161, allocations: 1 kB / 1.276 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/1.161, allocations: 97.47 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/1.161, allocations: 3.984 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004758/1.162, allocations: 141.8 kB / 1.276 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.162, allocations: 61.84 kB / 1.276 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/1.162, allocations: 118.5 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.162, allocations: 28.55 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/1.162, allocations: 96.83 kB / 1.277 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/1.162, allocations: 24.67 kB / 1.277 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/1.162, allocations: 38.38 kB / 1.277 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/1.162, allocations: 323.3 kB / 1.277 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/1.162, allocations: 51.3 kB / 1.277 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/1.162, allocations: 98.38 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/1.163, allocations: 152.4 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.163, allocations: 0.8125 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000488/1.163, allocations: 214.6 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/1.163, allocations: 33.83 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.163, allocations: 1.5 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.163, allocations: 2.062 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.163, allocations: 23.86 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.163, allocations: 2.031 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/1.163, allocations: 39.31 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/1.164, allocations: 6.844 kB / 1.277 GB, free: 4.176 MB / 0.9981 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 9.489e-05/1.164, allocations: 127.2 kB / 1.278 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/1.164, allocations: 7.531 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/1.164, allocations: 135.3 kB / 1.278 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.164, allocations: 1.031 kB / 1.278 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.164, allocations: 0.6562 kB / 1.278 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.164, allocations: 0 / 1.278 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/1.164, allocations: 382.7 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.164, allocations: 0 / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/1.164, allocations: 12.12 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.164, allocations: 0.7812 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.164, allocations: 1.469 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.164, allocations: 1.312 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.165, allocations: 4.875 kB / 1.278 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/1.165, allocations: 212.2 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/1.165, allocations: 84.66 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/1.165, allocations: 5.125 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/1.165, allocations: 7.047 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/1.165, allocations: 14.05 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/1.165, allocations: 4.375 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.897e-05/1.165, allocations: 97.33 kB / 1.279 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.165, allocations: 0 / 1.279 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002857/1.165, allocations: 26.41 kB / 1.279 GB, free: 3.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001619/1.166, allocations: 109 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004355/1.166, allocations: 166.1 kB / 1.279 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.166, allocations: 0.6562 kB / 1.279 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.166, allocations: 37.67 kB / 1.279 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/1.166, allocations: 14.66 kB / 1.279 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/1.167, allocations: 208.6 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/1.167, allocations: 0.6896 MB / 1.28 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/1.167, allocations: 12.12 kB / 1.28 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/1.167, allocations: 0 / 1.28 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.003802/1.171, allocations: 1.288 MB / 1.281 GB, free: 2.07 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches