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.001383/0.001383, 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.001563/0.001563, allocations: 203.1 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.583/1.583, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.854/2.854, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] 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.001989/0.001989, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00266/1.094, allocations: 0.6601 MB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001882/1.095, allocations: 1.061 MB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/1.096, allocations: 0 / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.076e-05/1.096, allocations: 11.88 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/1.096, allocations: 3.938 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/1.096, allocations: 43.83 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/1.096, allocations: 39.92 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.096, allocations: 11.97 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/1.096, allocations: 15.88 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/1.096, allocations: 27.91 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/1.096, allocations: 4 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/1.097, allocations: 15.98 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/1.097, allocations: 8 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/1.097, allocations: 27.84 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/1.097, allocations: 46.55 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.097, allocations: 0 / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.146e-06/1.097, allocations: 0 / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.273e-06/1.097, allocations: 0 / 1.276 GB, free: 2.414 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.0008026/1.098, allocations: 359.3 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.098, allocations: 8.031 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/1.098, allocations: 4.938 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/1.098, allocations: 176.3 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/1.098, allocations: 16.3 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/1.098, allocations: 8.375 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.098, allocations: 58.23 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.098, allocations: 192 / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/1.098, allocations: 3.938 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/1.098, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/1.098, allocations: 35.95 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/1.099, allocations: 276.9 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/1.099, allocations: 50.42 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.099, allocations: 26.48 kB / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/1.099, allocations: 0 / 1.277 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/1.1, allocations: 79.33 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/1.1, allocations: 0 / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0004487/1.1, allocations: 105.5 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/1.1, allocations: 51.41 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.1, allocations: 109.8 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/1.1, allocations: 33.7 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/1.1, allocations: 88.08 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/1.1, allocations: 11.95 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/1.1, allocations: 17.72 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.101, allocations: 318.8 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/1.101, allocations: 19.98 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/1.101, allocations: 51.72 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/1.101, allocations: 83.27 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.101, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002557/1.101, allocations: 97.55 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.101, allocations: 4 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.101, allocations: 4.094 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.101, allocations: 4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.101, allocations: 15.98 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.101, allocations: 7.984 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/1.102, allocations: 20.05 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/1.102, allocations: 0 / 1.278 GB, free: 64 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.0001435/1.102, allocations: 122.3 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/1.102, allocations: 7.953 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/1.102, allocations: 93.55 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.102, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.102, allocations: 320 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.102, allocations: 4 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/1.102, allocations: 346.5 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.102, allocations: 3.938 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/1.103, allocations: 4 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.103, allocations: 0 / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.103, allocations: 11.92 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.103, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.103, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/1.103, allocations: 183.4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/1.103, allocations: 81.11 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/1.103, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/1.103, allocations: 7.984 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/1.103, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.103, allocations: 11.86 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.711e-05/1.103, allocations: 87.28 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.103, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002583/1.103, allocations: 12 kB / 1.279 GB, free: 14.99 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.0002317/1.104, allocations: 111.1 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002924/1.104, allocations: 51.95 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.104, allocations: 8.25 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/1.104, allocations: 23.92 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/1.104, allocations: 9.859 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/1.105, allocations: 142 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/1.105, allocations: 0.6807 MB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.655e-05/1.105, allocations: 11.98 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/1.105, allocations: 11.44 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.105, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.004484/1.11, allocations: 0.7598 MB / 1.281 GB, free: 13.13 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 cvode -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: 9.486828438937664]