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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.975/2.975, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.695e-06/2.695e-06, allocations: 0 / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.278e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001877/0.00191, allocations: 0.6691 MB / 0.787 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.003568, allocations: 1.078 MB / 0.7881 GB, free: 9.949 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.003611, allocations: 2.094 kB / 0.7881 GB, free: 9.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.003637, allocations: 7.875 kB / 0.7881 GB, free: 9.941 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.003711, allocations: 7.984 kB / 0.7881 GB, free: 9.934 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.003999, allocations: 47.77 kB / 0.7881 GB, free: 9.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.00411, allocations: 39.86 kB / 0.7882 GB, free: 9.848 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.004199, allocations: 8.484 kB / 0.7882 GB, free: 9.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.004295, allocations: 28.91 kB / 0.7882 GB, free: 9.812 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.00434, allocations: 11.98 kB / 0.7882 GB, free: 9.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004358, allocations: 4 kB / 0.7882 GB, free: 9.797 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.004429, allocations: 25 kB / 0.7882 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.004457, allocations: 11.94 kB / 0.7883 GB, free: 9.762 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.00449, allocations: 11.98 kB / 0.7883 GB, free: 9.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.004645, allocations: 65.12 kB / 0.7883 GB, free: 9.688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004648, allocations: 0 / 0.7883 GB, free: 9.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004649, allocations: 0 / 0.7883 GB, free: 9.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004654, allocations: 1.062 kB / 0.7883 GB, free: 9.688 MB / 0.698 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.000596/0.00525, allocations: 388.1 kB / 0.7887 GB, free: 9.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.005286, allocations: 8.031 kB / 0.7887 GB, free: 9.262 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.005399, allocations: 14.39 kB / 0.7887 GB, free: 9.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.005525, allocations: 112.6 kB / 0.7888 GB, free: 9.113 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.005539, allocations: 4.375 kB / 0.7888 GB, free: 9.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.005549, allocations: 384 / 0.7888 GB, free: 9.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.005727, allocations: 60.08 kB / 0.7889 GB, free: 9.047 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.005736, allocations: 4.188 kB / 0.7889 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005745, allocations: 384 / 0.7889 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005749, allocations: 384 / 0.7889 GB, free: 9.043 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.005893, allocations: 34.22 kB / 0.7889 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.006403, allocations: 275.8 kB / 0.7892 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.006531, allocations: 47.05 kB / 0.7892 GB, free: 8.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.006607, allocations: 27.7 kB / 0.7893 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.006636, allocations: 4.609 kB / 0.7893 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.006807, allocations: 72.98 kB / 0.7893 GB, free: 8.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006809, allocations: 1.656 kB / 0.7893 GB, free: 8.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003383/0.007147, allocations: 85.86 kB / 0.7894 GB, free: 8.438 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.007209, allocations: 63.33 kB / 0.7895 GB, free: 8.363 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.00736, allocations: 174.7 kB / 0.7896 GB, free: 8.176 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.007383, allocations: 29.7 kB / 0.7897 GB, free: 8.141 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.00748, allocations: 139.5 kB / 0.7898 GB, free: 8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.007499, allocations: 7.953 kB / 0.7898 GB, free: 7.992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.007554, allocations: 28.8 kB / 0.7898 GB, free: 7.957 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002753/0.007829, allocations: 0.4884 MB / 0.7903 GB, free: 7.457 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.007905, allocations: 24.05 kB / 0.7903 GB, free: 7.434 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.008007, allocations: 57.02 kB / 0.7904 GB, free: 7.363 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.00817, allocations: 74.67 kB / 0.7905 GB, free: 7.273 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008172, allocations: 0.7188 kB / 0.7905 GB, free: 7.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002196/0.008392, allocations: 95.75 kB / 0.7906 GB, free: 7.176 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.008409, allocations: 7.938 kB / 0.7906 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008414, allocations: 0 / 0.7906 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.00843, allocations: 4 kB / 0.7906 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.008529, allocations: 16.58 kB / 0.7906 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008534, allocations: 0 / 0.7906 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.008582, allocations: 5.312 kB / 0.7906 GB, free: 7.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.008599, allocations: 11.98 kB / 0.7906 GB, free: 7.133 MB / 0.698 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.0001351/0.008734, allocations: 160.5 kB / 0.7908 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.008755, allocations: 17.05 kB / 0.7908 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.00897, allocations: 77.73 kB / 0.7908 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008972, allocations: 5.375 kB / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008975, allocations: 0 / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.008978, allocations: 0 / 0.7909 GB, free: 6.867 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.009389, allocations: 335.1 kB / 0.7912 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009391, allocations: 0 / 0.7912 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.009439, allocations: 7.984 kB / 0.7912 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.009441, allocations: 0 / 0.7912 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.009449, allocations: 0 / 0.7912 GB, free: 6.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.00945, allocations: 4.656 kB / 0.7912 GB, free: 6.488 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009451, allocations: 4 kB / 0.7912 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.009771, allocations: 228.9 kB / 0.7914 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.009781, allocations: 4 kB / 0.7914 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.009796, allocations: 1.562 kB / 0.7914 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.00986, allocations: 4 kB / 0.7914 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.009902, allocations: 3.984 kB / 0.7914 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.009908, allocations: 4 kB / 0.7914 GB, free: 6.227 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.623e-05/0.009994, allocations: 136.2 kB / 0.7916 GB, free: 6.094 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009994, allocations: 0 / 0.7916 GB, free: 6.094 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002273/0.01022, allocations: 19.31 kB / 0.7916 GB, free: 6.078 MB / 0.698 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.0001654/0.01039, allocations: 95.25 kB / 0.7917 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.01061, allocations: 55.59 kB / 0.7917 GB, free: 5.914 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01061, allocations: 3.938 kB / 0.7917 GB, free: 5.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-05/0.0107, allocations: 35.61 kB / 0.7918 GB, free: 5.871 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01095, allocations: 12.44 kB / 0.7918 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.01129, allocations: 140.3 kB / 0.7919 GB, free: 5.695 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.01136, allocations: 67.2 kB / 0.792 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.191e-05/0.01139, allocations: 4.906 kB / 0.792 GB, free: 5.605 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.01143, allocations: 16.48 kB / 0.792 GB, free: 5.59 MB / 0.698 GB Notification: Performance of SimCode: time 6.52e-07/0.01143, allocations: 0.8438 kB / 0.792 GB, free: 5.59 MB / 0.698 GB Notification: Performance of Templates: time 0.004574/0.016, allocations: 0.8028 MB / 0.7928 GB, free: 4.824 MB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.908592986990698]