Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 200.3 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7865, allocations: 168.7 MB / 1.274 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001896/0.7884, allocations: 0.6825 MB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.7899, allocations: 1.049 MB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.7899, allocations: 0 / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.79, allocations: 3.938 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.79, allocations: 11.92 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.7903, allocations: 43.78 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.839e-05/0.7904, allocations: 43.91 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.7905, allocations: 8 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.7906, allocations: 19.92 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.7906, allocations: 15.92 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.7907, allocations: 7.984 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.7907, allocations: 23.92 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.7908, allocations: 7.984 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.7908, allocations: 19.88 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.7909, allocations: 50.52 kB / 1.276 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7909, allocations: 3.938 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7909, allocations: 4 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.7909, allocations: 4 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005659/0.7915, allocations: 359.3 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.7915, allocations: 12.03 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.7916, allocations: 0.9375 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7917, allocations: 172.3 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7917, allocations: 384 / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.7917, allocations: 4.375 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.7919, allocations: 66.17 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7919, allocations: 192 / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7919, allocations: 7.922 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.792, allocations: 0 / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.7921, allocations: 39.97 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.7926, allocations: 269 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.7928, allocations: 50.53 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/0.7929, allocations: 34.31 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.7929, allocations: 3.984 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.7931, allocations: 67.34 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.7931, allocations: 0 / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0004161/0.7935, allocations: 109.6 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7936, allocations: 59.34 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7937, allocations: 105.8 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.7937, allocations: 25.7 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.7937, allocations: 92.08 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.7938, allocations: 11.94 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.7938, allocations: 25.72 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.794, allocations: 314.8 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.7941, allocations: 23.97 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.7942, allocations: 47.41 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.7944, allocations: 79.28 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7944, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002801/0.7947, allocations: 105.6 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7947, allocations: 4 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.7947, allocations: 4 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.7947, allocations: 0 / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.7948, allocations: 19.92 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7948, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.7949, allocations: 16.17 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.7949, allocations: 12 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001023/0.795, allocations: 118.3 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.795, allocations: 7.953 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.7953, allocations: 97.55 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7953, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7953, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.7953, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.7958, allocations: 334.5 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7958, allocations: 4 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.7959, allocations: 11.98 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7959, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.7959, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7959, allocations: 3.938 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7959, allocations: 3.938 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.7962, allocations: 191.4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.7962, allocations: 77.11 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7963, allocations: 0 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.7963, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.7964, allocations: 11.98 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.7964, allocations: 3.938 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.7964, allocations: 87.73 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7964, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002424/0.7967, allocations: 12 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001539/0.7968, allocations: 107.4 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.7971, allocations: 55.89 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7971, allocations: 0 / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.7972, allocations: 31.91 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.7975, allocations: 18.38 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.7978, allocations: 153.9 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.7982, allocations: 0.6807 MB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.7982, allocations: 4 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.7982, allocations: 7.438 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.7982, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.003421/0.8016, allocations: 0.7567 MB / 1.281 GB, free: 13.36 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_UnitDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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: 8.587528424803168]